Index: webkit/glue/plugins/pepper_image_data.cc |
diff --git a/webkit/glue/plugins/pepper_image_data.cc b/webkit/glue/plugins/pepper_image_data.cc |
index 7a0ecb16a8576b40d26829ed7135c00befd9c492..13fb4ef9aa658c7248054b68b1824a1fb36d9b61 100644 |
--- a/webkit/glue/plugins/pepper_image_data.cc |
+++ b/webkit/glue/plugins/pepper_image_data.cc |
@@ -142,6 +142,10 @@ bool ImageData::IsImageDataFormatSupported(PP_ImageDataFormat format) { |
format == PP_IMAGEDATAFORMAT_RGBA_PREMUL; |
} |
+ImageData* ImageData::AsImageData() { |
+ return this; |
+} |
+ |
bool ImageData::Init(PP_ImageDataFormat format, |
int width, int height, |
bool init_to_zero) { |