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

Unified Diff: third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.h

Issue 1428643004: Repaint on interest rect change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@EnableSyncPaint
Patch Set: Created 5 years, 2 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/platform/graphics/ContentLayerDelegate.h
diff --git a/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.h b/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.h
index 387c42cb5341e52a8325d10eee1fd6b262e1b512..6403762f260b2b432439cf6d57467b4ed9b8f0f1 100644
--- a/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.h
+++ b/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.h
@@ -41,9 +41,7 @@ class PaintController;
class PLATFORM_EXPORT GraphicsContextPainter {
public:
- virtual void paint(GraphicsContext&, const IntRect& clip) = 0;
- // Paints the content if required, either because the content changed or its interest rect has too much unpainted area.
- virtual void paintIfNeeded(GraphicsContext&) = 0;
+ virtual void paint(GraphicsContext&, const IntRect* clip) = 0;
virtual PaintController* paintController() = 0;
protected:

Powered by Google App Engine
This is Rietveld 408576698