Index: webkit/glue/plugins/pepper_graphics_2d.cc |
diff --git a/webkit/glue/plugins/pepper_graphics_2d.cc b/webkit/glue/plugins/pepper_graphics_2d.cc |
index 7ccfae58fc5c54b34c32a6215548af36d5ba73fd..f051b897047195aee47c41615f3e1c627c280a21 100644 |
--- a/webkit/glue/plugins/pepper_graphics_2d.cc |
+++ b/webkit/glue/plugins/pepper_graphics_2d.cc |
@@ -243,6 +243,10 @@ bool Graphics2D::Init(int width, int height, bool is_always_opaque) { |
return true; |
} |
+Graphics2D* Graphics2D::AsGraphics2D() { |
+ return this; |
+} |
+ |
PP_Bool Graphics2D::Describe(PP_Size* size, PP_Bool* is_always_opaque) { |
size->width = image_data_->width(); |
size->height = image_data_->height(); |