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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp

Issue 2382733002: Introduce markChildForPaginationRelayoutIfNeeded(). (Closed)
Patch Set: Created 4 years, 3 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
Index: third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
index 843e56d12bcfe49e0b81dce33e522d91a0936fe2..9b1fd9666610e3aa0ecb8e143da56f00f8698a41 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
@@ -667,7 +667,7 @@ bool LayoutBlockFlow::positionAndLayoutOnceIfNeeded(LayoutBox& child, LayoutUnit
// item, its width can change (because it has more available width).
layoutScope.setChildNeedsLayout(&child);
} else {
- child.markForPaginationRelayoutIfNeeded(layoutScope);
+ markChildForPaginationRelayoutIfNeeded(child, layoutScope);
}
}
@@ -3085,7 +3085,7 @@ bool LayoutBlockFlow::positionNewFloats(LineWidth* width)
SubtreeLayoutScope layoutScope(*childBox);
if (isPaginated && !childBox->needsLayout())
- childBox->markForPaginationRelayoutIfNeeded(layoutScope);
+ markChildForPaginationRelayoutIfNeeded(*childBox, layoutScope);
childBox->layoutIfNeeded();
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698