| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index 9bb04a993e62ab288ebeb0f8cc56f97fcd5c7f9d..8d63614119cbe3f4ff36ef83346d053707009ef6 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -4700,6 +4700,10 @@ void LayoutBox::markChildForPaginationRelayoutIfNeeded(
|
| SubtreeLayoutScope& layoutScope) {
|
| DCHECK(!child.needsLayout());
|
| LayoutState* layoutState = view()->layoutState();
|
| + if (layoutState->paginationStateChanged()) {
|
| + layoutScope.setChildNeedsLayout(&child);
|
| + return;
|
| + }
|
| if (!layoutState->isPaginated())
|
| return;
|
|
|
|
|