Index: third_party/WebKit/Source/core/layout/LayoutBlockFlow.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h |
index 14a6cd12d1e0678341d6b47a0c32611dab0237bf..22d9711f33818da5ea0aa60e1126a518adf306ac 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h |
@@ -306,6 +306,13 @@ class CORE_EXPORT LayoutBlockFlow : public LayoutBlock { |
} |
void setPaginationStrutPropagatedFromChild(LayoutUnit); |
+ LayoutUnit firstForcedBreakOffset() const { |
+ if (!m_rareData) |
+ return LayoutUnit(); |
+ return m_rareData->m_firstForcedBreakOffset; |
+ } |
+ void setFirstForcedBreakOffset(LayoutUnit); |
+ |
void positionSpannerDescendant(LayoutMultiColumnSpannerPlaceholder& child); |
bool avoidsFloats() const override; |
@@ -679,6 +686,8 @@ class CORE_EXPORT LayoutBlockFlow : public LayoutBlock { |
MarginValues m_margins; |
LayoutUnit m_paginationStrutPropagatedFromChild; |
+ LayoutUnit m_firstForcedBreakOffset; |
+ |
LayoutMultiColumnFlowThread* m_multiColumnFlowThread; |
unsigned m_breakBefore : 4; |