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

Unified Diff: Source/core/layout/LayoutPagedFlowThread.cpp

Issue 1282353002: Prepare height calculation methods in LayoutFlowThread for nested multicol. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 | « Source/core/layout/LayoutMultiColumnSet.cpp ('k') | Source/core/layout/MultiColumnFragmentainerGroup.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutPagedFlowThread.cpp
diff --git a/Source/core/layout/LayoutPagedFlowThread.cpp b/Source/core/layout/LayoutPagedFlowThread.cpp
index 43105d001bc2e2daa969ca01a0d9fa6d4922b733..895f7ef044e529d96d7442e0ae4f89d57600cfe3 100644
--- a/Source/core/layout/LayoutPagedFlowThread.cpp
+++ b/Source/core/layout/LayoutPagedFlowThread.cpp
@@ -46,7 +46,7 @@ void LayoutPagedFlowThread::layout()
LayoutMultiColumnSet* columnSet = firstMultiColumnSet();
if (!columnSet)
return;
- LayoutUnit pageLogicalHeight = columnSet->pageLogicalHeight();
+ LayoutUnit pageLogicalHeight = columnSet->pageLogicalHeightForOffset(LayoutUnit());
if (!pageLogicalHeight)
return; // Page height not calculated yet. Happens in the first layout pass when height is auto.
// Ensure uniform page height. We don't want the last page to be shorter than the others,
« no previous file with comments | « Source/core/layout/LayoutMultiColumnSet.cpp ('k') | Source/core/layout/MultiColumnFragmentainerGroup.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698