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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutFlexibleBox.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/LayoutFlexibleBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp b/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp
index 478c3265e9db797eef635d5800592d2ec0d5cb90..76d82b8372fbf25164d07e1787906493cace0f3f 100644
--- a/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp
@@ -1682,7 +1682,7 @@ void LayoutFlexibleBox::layoutAndPlaceChildren(LayoutUnit& crossAxisOffset, cons
}
updateBlockChildDirtyBitsBeforeLayout(forceChildRelayout, *child);
if (!child->needsLayout())
- child->markForPaginationRelayoutIfNeeded(layoutScope);
+ markChildForPaginationRelayoutIfNeeded(*child, layoutScope);
if (child->needsLayout())
m_relaidOutChildren.add(child);
child->layoutIfNeeded();

Powered by Google App Engine
This is Rietveld 408576698