Index: third_party/WebKit/Source/core/layout/LayoutState.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutState.cpp b/third_party/WebKit/Source/core/layout/LayoutState.cpp |
index b00feb3c958cc61d62065d830f1180650c2f77ad..fc98857231e4c6b79e15e62f575eaa5db9ecec88 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutState.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutState.cpp |
@@ -37,6 +37,7 @@ LayoutState::LayoutState(LayoutUnit pageLogicalHeight, |
: m_isPaginated(pageLogicalHeight), |
m_pageLogicalHeightChanged(pageLogicalHeightChanged), |
m_containingBlockLogicalWidthChanged(false), |
+ m_paginationStateChanged(false), |
m_flowThread(nullptr), |
m_next(nullptr), |
m_pageLogicalHeight(pageLogicalHeight), |
@@ -59,6 +60,7 @@ LayoutState::LayoutState(LayoutBox& layoutObject, |
m_flowThread = m_next->flowThread(); |
else |
m_flowThread = nullptr; |
+ m_paginationStateChanged = m_next->m_paginationStateChanged; |
layoutObject.view()->pushLayoutState(*this); |
bool fixed = layoutObject.isOutOfFlowPositioned() && |
layoutObject.style()->position() == FixedPosition; |
@@ -129,6 +131,7 @@ LayoutState::LayoutState(LayoutObject& root) |
: m_isPaginated(false), |
m_pageLogicalHeightChanged(false), |
m_containingBlockLogicalWidthChanged(false), |
+ m_paginationStateChanged(false), |
m_flowThread(nullptr), |
m_next(root.view()->layoutState()), |
m_layoutObject(root) { |