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

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

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.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutState.cpp b/third_party/WebKit/Source/core/layout/LayoutState.cpp
index d9db8bc34f39908ab253dc8cb2251b3ca56f75c1..53c60e6e72c9106ccae8a8dc5c95d6f8ebaf3679 100644
--- a/third_party/WebKit/Source/core/layout/LayoutState.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutState.cpp
@@ -32,10 +32,8 @@
namespace blink {
LayoutState::LayoutState(LayoutUnit pageLogicalHeight,
- bool pageLogicalHeightChanged,
LayoutView& view)
: m_isPaginated(pageLogicalHeight),
- m_pageLogicalHeightChanged(pageLogicalHeightChanged),
m_containingBlockLogicalWidthChanged(false),
m_paginationStateChanged(false),
m_flowThread(nullptr),
@@ -48,7 +46,6 @@ LayoutState::LayoutState(LayoutUnit pageLogicalHeight,
LayoutState::LayoutState(LayoutBox& layoutObject,
LayoutUnit pageLogicalHeight,
- bool pageLogicalHeightChanged,
bool containingBlockLogicalWidthChanged)
: m_containingBlockLogicalWidthChanged(containingBlockLogicalWidthChanged),
m_next(layoutObject.view()->layoutState()),
@@ -66,7 +63,6 @@ LayoutState::LayoutState(LayoutBox& layoutObject,
if (pageLogicalHeight || layoutObject.isLayoutFlowThread()) {
// Entering a new pagination context.
m_pageLogicalHeight = pageLogicalHeight;
- m_pageLogicalHeightChanged = pageLogicalHeightChanged;
m_paginationOffset = LayoutSize();
m_isPaginated = true;
return;
@@ -79,14 +75,12 @@ LayoutState::LayoutState(LayoutBox& layoutObject,
(m_layoutObject.isSVG() && !m_layoutObject.isSVGRoot())) {
m_flowThread = nullptr;
m_pageLogicalHeight = LayoutUnit();
- m_pageLogicalHeightChanged = false;
m_isPaginated = false;
return;
}
// Propagate the old page height and offset down.
m_pageLogicalHeight = m_next->m_pageLogicalHeight;
- m_pageLogicalHeightChanged = m_next->m_pageLogicalHeightChanged;
m_isPaginated = m_pageLogicalHeight || m_flowThread;
if (!m_isPaginated)
@@ -118,7 +112,6 @@ LayoutState::LayoutState(LayoutBox& layoutObject,
LayoutState::LayoutState(LayoutObject& root)
: m_isPaginated(false),
- m_pageLogicalHeightChanged(false),
m_containingBlockLogicalWidthChanged(false),
m_paginationStateChanged(false),
m_flowThread(nullptr),
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutState.h ('k') | third_party/WebKit/Source/core/layout/LayoutView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698