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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.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/LayoutDeprecatedFlexibleBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp b/third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
index bf3a2c98843f199193bbfdd26e3f94f47161adb4..ed81315de5b9a929b37a3332ea93809e5cdc74f9 100644
--- a/third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
@@ -452,7 +452,7 @@ void LayoutDeprecatedFlexibleBox::layoutHorizontalBox(bool relayoutChildren)
child->computeAndSetBlockDirectionMargins(this);
if (!child->needsLayout())
- child->markForPaginationRelayoutIfNeeded(layoutScope);
+ markChildForPaginationRelayoutIfNeeded(*child, layoutScope);
// Now do the layout.
child->layoutIfNeeded();
@@ -526,7 +526,7 @@ void LayoutDeprecatedFlexibleBox::layoutHorizontalBox(bool relayoutChildren)
layoutScope.setChildNeedsLayout(child);
if (!child->needsLayout())
- child->markForPaginationRelayoutIfNeeded(layoutScope);
+ markChildForPaginationRelayoutIfNeeded(*child, layoutScope);
child->layoutIfNeeded();
@@ -762,7 +762,7 @@ void LayoutDeprecatedFlexibleBox::layoutVerticalBox(bool relayoutChildren)
setHeight(size().height() + child->marginTop());
if (!child->needsLayout())
- child->markForPaginationRelayoutIfNeeded(layoutScope);
+ markChildForPaginationRelayoutIfNeeded(*child, layoutScope);
// Now do a layout.
child->layoutIfNeeded();
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698