diff options
Diffstat (limited to 'webkit/glue/plugins/pepper_graphics_3d.cc')
-rw-r--r-- | webkit/glue/plugins/pepper_graphics_3d.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/glue/plugins/pepper_graphics_3d.cc b/webkit/glue/plugins/pepper_graphics_3d.cc index 2dc4def..34551da 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(); } |