Index: ppapi/proxy/image_data.h |
diff --git a/ppapi/proxy/image_data.h b/ppapi/proxy/image_data.h |
index fb4a8393667ca759c30ecfbbcc5d02f43daad920..6e962ab821e6310857aaa442559250b2496a484e 100644 |
--- a/ppapi/proxy/image_data.h |
+++ b/ppapi/proxy/image_data.h |
@@ -19,7 +19,7 @@ class ImageData : public PluginResource { |
virtual ~ImageData(); |
// Resource overrides. |
- virtual ImageData* AsImageData() { return this; } |
+ virtual ImageData* AsImageData(); |
void* Map(); |
void Unmap(); |