Index: third_party/WebKit/Source/core/frame/FrameView.h |
diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h |
index d247ae99205dcf52081dcebd2b5c07510a1fd99f..ade9c363224c377254fc76e0b0b50181b99173f8 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.h |
+++ b/third_party/WebKit/Source/core/frame/FrameView.h |
@@ -603,6 +603,9 @@ public: |
ScrollAnchor& scrollAnchor() { return m_scrollAnchor; } |
+ // For PaintInvalidator temporarily. TODO(wangxianzhu): Move into PaintInvalidator. |
+ void invalidatePaintIfNeeded(const PaintInvalidationState&); |
+ |
protected: |
// Scroll the content via the compositor. |
bool scrollContentsFastPath(const IntSize& scrollDelta); |
@@ -641,7 +644,7 @@ protected: |
}; |
// Only for LayoutPart to traverse into sub frames during paint invalidation. |
- void invalidateTreeIfNeeded(PaintInvalidationState&); |
+ void invalidateTreeIfNeeded(const PaintInvalidationState&); |
private: |
explicit FrameView(LocalFrame*); |