[CSS Grid Layout] Use gridRowCount() and gridColumnCount() when possible
authorrego@igalia.com <rego@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 May 2014 20:31:21 +0000 (20:31 +0000)
committerrego@igalia.com <rego@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 May 2014 20:31:21 +0000 (20:31 +0000)
commit0b482668fd00442ab87ddcb2abf5ecff29fbef4c
treea72abae73cbdbc6743d597037ab26b80bb19fdf8
parent1ac6fd974b213a08c30f38cb5131e1af1f818bd0
[CSS Grid Layout] Use gridRowCount() and gridColumnCount() when possible
https://bugs.webkit.org/show_bug.cgi?id=133213

Reviewed by Sergio Villar Senin.

Use gridRowCount() and gridColumnCount() instead of m_grid.size() and
m_grid[0].size() to make the code more descriptive and easier to
understand.

No new tests (No change in behavior).

* rendering/RenderGrid.cpp:
(WebCore::RenderGrid::growGrid):
(WebCore::RenderGrid::placeAutoMajorAxisItemOnGrid):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@169277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderGrid.cpp