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(); |