Index: webkit/glue/plugins/pepper_graphics_3d.cc |
diff --git a/webkit/glue/plugins/pepper_graphics_3d.cc b/webkit/glue/plugins/pepper_graphics_3d.cc |
index 2dc4def7ee6ac97bda95880e8c8c17a40ff0d7ef..34551dabca13fa2f284179c5b788717ee0c5e6d1 100644 |
--- a/webkit/glue/plugins/pepper_graphics_3d.cc |
+++ b/webkit/glue/plugins/pepper_graphics_3d.cc |
@@ -145,6 +145,10 @@ void Graphics3D::ResetCurrent() { |
CurrentContextKey::get()->Set(NULL); |
} |
+Graphics3D* Graphics3D::AsGraphics3D() { |
+ return this; |
+} |
+ |
Graphics3D::~Graphics3D() { |
Destroy(); |
} |