Index: Source/core/frame/FrameView.h |
diff --git a/Source/core/frame/FrameView.h b/Source/core/frame/FrameView.h |
index c1dd4aac3a1e441b23c6e669b550031bf798d545..14159d96ede00c6ae8d10f232ffae8a897e07042 100644 |
--- a/Source/core/frame/FrameView.h |
+++ b/Source/core/frame/FrameView.h |
@@ -88,7 +88,7 @@ public: |
void scheduleRelayout(); |
void scheduleRelayoutOfSubtree(RenderObject*); |
bool layoutPending() const; |
- bool isInPerformLayout() const { return m_inPerformLayout; } |
+ bool isInPerformLayout() const; |
void setCanRepaintDuringPerformLayout(bool b) { m_canRepaintDuringPerformLayout = b; } |
bool canRepaintDuringPerformLayout() const { return m_canRepaintDuringPerformLayout; } |
@@ -355,6 +355,8 @@ private: |
void gatherDebugLayoutRects(RenderObject* layoutRoot); |
+ DocumentLifecycle& lifecycle() const; |
+ |
virtual void repaintContentRectangle(const IntRect&) OVERRIDE; |
virtual void contentsResized() OVERRIDE; |
virtual void scrollbarExistenceDidChange() OVERRIDE; |
@@ -412,7 +414,7 @@ private: |
if (!RuntimeEnabledFeatures::repaintAfterLayoutEnabled()) |
return true; |
- return !m_inPerformLayout || canRepaintDuringPerformLayout(); |
+ return !isInPerformLayout() || canRepaintDuringPerformLayout(); |
} |
static double s_currentFrameTimeStamp; // used for detecting decoded resource thrash in the cache |