Index: Source/core/rendering/RenderView.h |
diff --git a/Source/core/rendering/RenderView.h b/Source/core/rendering/RenderView.h |
index 198ba18f1a9f6aff126cd819aa0d7330638e29e9..c1504d2a13f31931c2350e7fdd8967c32d1fbf7f 100644 |
--- a/Source/core/rendering/RenderView.h |
+++ b/Source/core/rendering/RenderView.h |
@@ -160,8 +160,8 @@ public: |
double layoutViewportWidth() const; |
double layoutViewportHeight() const; |
- void pushLayoutState(LayoutState&); |
- void popLayoutState(); |
+ void pushLayoutState(LayoutState& layoutState) { m_layoutState = &layoutState; } |
+ void popLayoutState() { ASSERT(m_layoutState); m_layoutState = m_layoutState->next(); } |
virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) override final; |
private: |