Index: webkit/glue/plugins/pepper_graphics_3d.h |
diff --git a/webkit/glue/plugins/pepper_graphics_3d.h b/webkit/glue/plugins/pepper_graphics_3d.h |
index 5c00068b8de752ce6359ff2bb7cdf2863338caa5..420a36440e0153d729509aae5b31f1c64b356fa5 100644 |
--- a/webkit/glue/plugins/pepper_graphics_3d.h |
+++ b/webkit/glue/plugins/pepper_graphics_3d.h |
@@ -41,9 +41,7 @@ class Graphics3D : public Resource { |
static void ResetCurrent(); |
// Resource override. |
- virtual Graphics3D* AsGraphics3D() { |
- return this; |
- } |
+ virtual Graphics3D* AsGraphics3D(); |
bool Init(PP_Instance instance_id, int32_t config, |
const int32_t* attrib_list); |