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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutView.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
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutView.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/LayoutView.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.cpp b/third_party/WebKit/Source/core/layout/LayoutView.cpp
index d53bfa3a34d27e3a9ea446beb27af4ed9b77ee3b..0235cfac9d798dc1400417a58b92377ab9255963 100644
--- a/third_party/WebKit/Source/core/layout/LayoutView.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp
@@ -90,7 +90,6 @@ LayoutView::LayoutView(Document* document)
m_selectionEnd(nullptr),
m_selectionStartPos(-1),
m_selectionEndPos(-1),
- m_pageLogicalHeightChanged(false),
m_layoutState(nullptr),
m_layoutQuoteHead(nullptr),
m_layoutCounterCount(0),
@@ -278,10 +277,7 @@ void LayoutView::layout() {
if (!needsLayout())
return;
- LayoutState rootLayoutState(pageLogicalHeight(), pageLogicalHeightChanged(),
- *this);
-
- m_pageLogicalHeightChanged = false;
+ LayoutState rootLayoutState(pageLogicalHeight(), *this);
layoutContent();
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutView.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698