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

Unified Diff: Source/core/rendering/RenderFlowThread.cpp

Issue 147653002: previousRegionLogicalHeight not getting updated (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated for Landing Created 6 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderFlowThread.cpp
diff --git a/Source/core/rendering/RenderFlowThread.cpp b/Source/core/rendering/RenderFlowThread.cpp
index 0257c1ba0a16c6475fdcdd4e33fd4375252431c9..b8614d5dc989ef281d0e7124c61d8d9ec408f11b 100644
--- a/Source/core/rendering/RenderFlowThread.cpp
+++ b/Source/core/rendering/RenderFlowThread.cpp
@@ -126,13 +126,11 @@ void RenderFlowThread::validateRegions()
m_regionsHaveUniformLogicalHeight = true;
if (hasRegions()) {
- LayoutUnit previousRegionLogicalWidth = 0;
LayoutUnit previousRegionLogicalHeight = 0;
bool firstRegionVisited = false;
for (RenderRegionList::iterator iter = m_regionList.begin(); iter != m_regionList.end(); ++iter) {
RenderRegion* region = *iter;
- LayoutUnit regionLogicalWidth = region->pageLogicalWidth();
LayoutUnit regionLogicalHeight = region->pageLogicalHeight();
if (!firstRegionVisited) {
@@ -142,7 +140,7 @@ void RenderFlowThread::validateRegions()
m_regionsHaveUniformLogicalHeight = false;
}
- previousRegionLogicalWidth = regionLogicalWidth;
+ previousRegionLogicalHeight = regionLogicalHeight;
}
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698