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: |