Index: Source/core/rendering/InlineFlowBox.h |
diff --git a/Source/core/rendering/InlineFlowBox.h b/Source/core/rendering/InlineFlowBox.h |
index f9a88bda17b76a25b3cd74716842932fa472d921..b69e205e2f0c2788757c10d924332d73fb176049 100644 |
--- a/Source/core/rendering/InlineFlowBox.h |
+++ b/Source/core/rendering/InlineFlowBox.h |
@@ -56,6 +56,7 @@ public: |
, m_lineBreakBidiStatusEor(WTF::Unicode::LeftToRight) |
, m_lineBreakBidiStatusLastStrong(WTF::Unicode::LeftToRight) |
, m_lineBreakBidiStatusLast(WTF::Unicode::LeftToRight) |
+ , m_isFirstAfterPageBreak(false) |
#if ENABLE(ASSERT) |
, m_hasBadChildList(false) |
#endif |
@@ -288,6 +289,9 @@ public: |
parent()->clearDescendantsHaveSameLineHeightAndBaseline(); |
} |
+ bool isFirstAfterPageBreak() const { return m_isFirstAfterPageBreak; } |
+ void setIsFirstAfterPageBreak(bool isFirstAfterPageBreak) { m_isFirstAfterPageBreak = isFirstAfterPageBreak; } |
+ |
private: |
void addBoxShadowVisualOverflow(LayoutRect& logicalVisualOverflow); |
void addBorderOutsetVisualOverflow(LayoutRect& logicalVisualOverflow); |
@@ -334,6 +338,8 @@ protected: |
unsigned m_lineBreakBidiStatusLastStrong : 5; // WTF::Unicode::Direction |
unsigned m_lineBreakBidiStatusLast : 5; // WTF::Unicode::Direction |
+ unsigned m_isFirstAfterPageBreak : 1; |
+ |
// End of RootInlineBox-specific members. |
#if ENABLE(ASSERT) |