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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutState.h

Issue 2454083002: Need a deep layout pass when becoming (un)fragmented. (Closed)
Patch Set: Created 4 years, 2 months 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
Index: third_party/WebKit/Source/core/layout/LayoutState.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutState.h b/third_party/WebKit/Source/core/layout/LayoutState.h
index 8bf94b0ad6cb393619b99f54f6e358397a9a6538..d8a73c6f61ce5c4b7b8d1e3db4885cfd43ca1d3e 100644
--- a/third_party/WebKit/Source/core/layout/LayoutState.h
+++ b/third_party/WebKit/Source/core/layout/LayoutState.h
@@ -104,6 +104,9 @@ class LayoutState {
return m_containingBlockLogicalWidthChanged;
}
+ bool paginationStateChanged() const { return m_paginationStateChanged; }
+ void setPaginationStateChanged() { m_paginationStateChanged = true; }
+
LayoutState* next() const { return m_next; }
LayoutFlowThread* flowThread() const { return m_flowThread; }
@@ -117,6 +120,7 @@ class LayoutState {
// If our page height has changed, this will force all blocks to relayout.
bool m_pageLogicalHeightChanged : 1;
bool m_containingBlockLogicalWidthChanged : 1;
+ bool m_paginationStateChanged : 1;
LayoutFlowThread* m_flowThread;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698