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 8e9f3cd362814851e5d3c4aed75f382201a12841..bedcbad28693e0fdd7f63398d0d5d30181b4dc1f 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutState.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutState.cpp |
@@ -94,7 +94,7 @@ LayoutState::LayoutState(LayoutBox& layoutObject, const LayoutSize& offset, Layo |
// Disable pagination for objects we don't support. For now this includes overflow:scroll/auto, inline blocks and |
// writing mode roots. |
- if (layoutObject.isUnsplittableForPagination()) { |
+ if (layoutObject.paginationBreakability() == LayoutBox::ForbidBreaks) { |
m_flowThread = nullptr; |
m_pageLogicalHeight = 0; |
m_isPaginated = false; |