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(); |