Index: Source/core/rendering/RenderView.h |
diff --git a/Source/core/rendering/RenderView.h b/Source/core/rendering/RenderView.h |
index 8d1f8b4ddaf1a615017219a1135d67d29698f385..fdf5ed3edca4fa30284af4ea0ec8bece66f7571d 100644 |
--- a/Source/core/rendering/RenderView.h |
+++ b/Source/core/rendering/RenderView.h |
@@ -283,8 +283,8 @@ class LayoutStateMaintainer { |
WTF_MAKE_NONCOPYABLE(LayoutStateMaintainer); |
public: |
// ctor to push now |
- LayoutStateMaintainer(RenderView* view, RenderBox* root, LayoutSize offset, bool disableState = false, LayoutUnit pageHeight = 0, bool pageHeightChanged = false, ColumnInfo* colInfo = 0) |
- : m_view(view) |
+ LayoutStateMaintainer(RenderBox* root, LayoutSize offset, bool disableState = false, LayoutUnit pageHeight = 0, bool pageHeightChanged = false, ColumnInfo* colInfo = 0) |
+ : m_view(root->view()) |
, m_disabled(disableState) |
, m_didStart(false) |
, m_didEnd(false) |
@@ -294,8 +294,8 @@ public: |
} |
// ctor to maybe push later |
- LayoutStateMaintainer(RenderView* view) |
- : m_view(view) |
+ LayoutStateMaintainer(RenderBox* root) |
+ : m_view(root->view()) |
, m_disabled(false) |
, m_didStart(false) |
, m_didEnd(false) |