Index: Source/core/rendering/RenderView.h |
diff --git a/Source/core/rendering/RenderView.h b/Source/core/rendering/RenderView.h |
index 6fb888e5d7ad4bda045e00b6acaefc373e70f551..53a1bb05de11ab97a358caa30ad5d011b994ff0b 100644 |
--- a/Source/core/rendering/RenderView.h |
+++ b/Source/core/rendering/RenderView.h |
@@ -283,9 +283,9 @@ class LayoutStateMaintainer { |
WTF_MAKE_NONCOPYABLE(LayoutStateMaintainer); |
public: |
// ctor to push now |
- LayoutStateMaintainer(RenderBox* root, LayoutSize offset, bool disableState = false, LayoutUnit pageHeight = 0, bool pageHeightChanged = false, ColumnInfo* colInfo = 0) |
+ LayoutStateMaintainer(RenderBox* root, LayoutSize offset, LayoutUnit pageHeight = 0, bool pageHeightChanged = false, ColumnInfo* colInfo = 0) |
: m_view(root->view()) |
- , m_disabled(disableState) |
+ , m_disabled(root->shouldDisableLayoutState()) |
, m_didStart(false) |
, m_didEnd(false) |
, m_didCreateLayoutState(false) |