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