Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(308)

Unified Diff: Source/WebCore/rendering/RenderFrameSet.cpp

Issue 12282015: Merge 142539 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/frames/invalid-frameset-expected.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/rendering/RenderFrameSet.cpp
===================================================================
--- Source/WebCore/rendering/RenderFrameSet.cpp (revision 143080)
+++ Source/WebCore/rendering/RenderFrameSet.cpp (working copy)
@@ -133,14 +133,14 @@
LayoutPoint adjustedPaintOffset = paintOffset + location();
- int rows = frameSet()->totalRows();
- int cols = frameSet()->totalCols();
+ size_t rows = m_rows.m_sizes.size();
+ size_t cols = m_cols.m_sizes.size();
LayoutUnit borderThickness = frameSet()->border();
LayoutUnit yPos = 0;
- for (int r = 0; r < rows; r++) {
+ for (size_t r = 0; r < rows; r++) {
LayoutUnit xPos = 0;
- for (int c = 0; c < cols; c++) {
+ for (size_t c = 0; c < cols; c++) {
child->paint(paintInfo, adjustedPaintOffset);
xPos += m_cols.m_sizes[c];
if (borderThickness && m_cols.m_allowBorder[c + 1]) {
« no previous file with comments | « LayoutTests/fast/frames/invalid-frameset-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698