summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/pepper_graphics_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/plugins/pepper_graphics_2d.h')
-rw-r--r--webkit/glue/plugins/pepper_graphics_2d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/plugins/pepper_graphics_2d.h b/webkit/glue/plugins/pepper_graphics_2d.h
index 78170ab..320209a 100644
--- a/webkit/glue/plugins/pepper_graphics_2d.h
+++ b/webkit/glue/plugins/pepper_graphics_2d.h
@@ -39,7 +39,7 @@ class Graphics2D : public Resource {
bool is_always_opaque() const { return is_always_opaque_; }
// Resource override.
- virtual Graphics2D* AsGraphics2D() { return this; }
+ virtual Graphics2D* AsGraphics2D();
// PPB_Graphics2D functions.
PP_Bool Describe(PP_Size* size, PP_Bool* is_always_opaque);