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 968e1073a4b2a35498a253982561b5a7da1314f3..813f51ea7090ba26764c37d2f05d591239ba6da4 100644 |
--- a/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.h |
+++ b/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.h |
@@ -42,6 +42,8 @@ class IntRect; |
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 DisplayItemList* displayItemList() = 0; |
protected: |