We're not being consistent in RenderGrid code and sometimes we use m_grid.size() and other gridRowCount() (and the same for columns). This is a simple patch to use gridRowCount() and gridColumnCount() always when it's possible. Which will make the code more descriptive and easier to understand. BTW, a similar patch has already landed in Blink: https://codereview.chromium.org/235713003/
Created attachment 231958 [details] Patch
Comment on attachment 231958 [details] Patch Nice cleanup
Comment on attachment 231958 [details] Patch Clearing flags on attachment: 231958 Committed r169277: <http://trac.webkit.org/changeset/169277>
All reviewed patches have been landed. Closing bug.