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

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

Issue 2467353003: Remove pageLogicalHeightChanged() from LayoutState. (Closed)
Patch Set: Created 4 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
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 3598112739228af32829638b190c0db3b4f65b57..b892d73088c3ff3242c638cefbb3b05c74deba45 100644
--- a/third_party/WebKit/Source/core/layout/LayoutState.h
+++ b/third_party/WebKit/Source/core/layout/LayoutState.h
@@ -68,14 +68,12 @@ class LayoutState {
public:
// Constructor for root LayoutState created by LayoutView
LayoutState(LayoutUnit pageLogicalHeight,
- bool pageLogicalHeightChanged,
LayoutView&);
// Constructor for sub-tree layout and orthogonal writing-mode roots
explicit LayoutState(LayoutObject& root);
LayoutState(LayoutBox&,
LayoutUnit pageLogicalHeight = LayoutUnit(),
- bool pageHeightLogicalChanged = false,
bool containingBlockLogicalWidthChanged = false);
~LayoutState();
@@ -97,7 +95,6 @@ class LayoutState {
const LayoutSize& paginationOffset() const { return m_paginationOffset; }
LayoutUnit pageLogicalHeight() const { return m_pageLogicalHeight; }
- bool pageLogicalHeightChanged() const { return m_pageLogicalHeightChanged; }
bool containingBlockLogicalWidthChanged() const {
return m_containingBlockLogicalWidthChanged;
}
@@ -115,8 +112,7 @@ class LayoutState {
// Do not add anything apart from bitfields until after m_flowThread. See
// https://bugs.webkit.org/show_bug.cgi?id=100173
bool m_isPaginated : 1;
- // 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;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlockFlow.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