Index: third_party/WebKit/Source/platform/Widget.h |
diff --git a/third_party/WebKit/Source/platform/Widget.h b/third_party/WebKit/Source/platform/Widget.h |
index e6076c3f2aec880c9883d5d3f2d6ab2d9aa25889..d58fff4a749ce154db85847ff54ca175014b8a1f 100644 |
--- a/third_party/WebKit/Source/platform/Widget.h |
+++ b/third_party/WebKit/Source/platform/Widget.h |
@@ -38,6 +38,7 @@ |
namespace blink { |
+class CullRect; |
class Event; |
class GraphicsContext; |
class HostWindow; |
@@ -68,7 +69,7 @@ public: |
void move(int x, int y) { setFrameRect(IntRect(x, y, width(), height())); } |
void move(const IntPoint& p) { setFrameRect(IntRect(p, size())); } |
- virtual void paint(GraphicsContext*, const IntRect&) const { } |
+ virtual void paint(GraphicsContext*, const CullRect&) const { } |
void invalidate() { invalidateRect(boundsRect()); } |
virtual void invalidateRect(const IntRect&) = 0; |