Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1461)

Unified Diff: Source/core/rendering/InlineFlowBox.h

Issue 715973004: Remove FragementationData lazyness (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix moar compiler bugs Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/rendering/RootInlineBox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « no previous file | Source/core/rendering/RootInlineBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698