Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2736)

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.h

Issue 2033183002: [SPv2] Paint invalidation in PreWalkTreeWalk, plumbed on PaintInvalidationState (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@RootFrame
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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*);

Powered by Google App Engine
This is Rietveld 408576698