Index: webkit/glue/plugins/pepper_image_data.h |
diff --git a/webkit/glue/plugins/pepper_image_data.h b/webkit/glue/plugins/pepper_image_data.h |
index 75bead7773985d5f45cdb1e4cb866f68e2709de4..2c7adde2ea0e2da0b3cdc624383011e31bbd6a01 100644 |
--- a/webkit/glue/plugins/pepper_image_data.h |
+++ b/webkit/glue/plugins/pepper_image_data.h |
@@ -53,7 +53,7 @@ class ImageData : public Resource { |
static bool IsImageDataFormatSupported(PP_ImageDataFormat format); |
// Resource overrides. |
- virtual ImageData* AsImageData() { return this; } |
+ virtual ImageData* AsImageData(); |
// PPB_ImageData implementation. |
bool Init(PP_ImageDataFormat format, |