Index: webkit/glue/plugins/pepper_graphics_2d.h |
diff --git a/webkit/glue/plugins/pepper_graphics_2d.h b/webkit/glue/plugins/pepper_graphics_2d.h |
index 78170ab34425227f27eeb5fd473dd6927f07c7c4..320209a20a920647975015a8964e2f3df375396e 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); |