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 d4697138afe4d6ed83df721e8767aacb6525734d..123bb8cf187cdf77d1bed67738db87ae69b5e16f 100644 |
--- a/third_party/WebKit/Source/platform/Widget.h |
+++ b/third_party/WebKit/Source/platform/Widget.h |
@@ -67,7 +67,7 @@ public: |
void resize(int w, int h) { setFrameRect(IntRect(x(), y(), w, h)); } |
void resize(const IntSize& s) { setFrameRect(IntRect(location(), s)); } |
- virtual void paint(GraphicsContext*, const CullRect&) const { } |
+ virtual void paint(GraphicsContext&, const CullRect&) const { } |
void invalidate() { invalidateRect(boundsRect()); } |
virtual void invalidateRect(const IntRect&) = 0; |