Index: webkit/plugins/ppapi/ppb_graphics_3d_impl.h |
diff --git a/webkit/plugins/ppapi/ppb_graphics_3d_impl.h b/webkit/plugins/ppapi/ppb_graphics_3d_impl.h |
index 52b72c583f33e908feb4336a0e38b6c3d9d77088..28f71ab1d0e3d8293f65780a13a986d5b4d01ef1 100644 |
--- a/webkit/plugins/ppapi/ppb_graphics_3d_impl.h |
+++ b/webkit/plugins/ppapi/ppb_graphics_3d_impl.h |
@@ -57,6 +57,10 @@ class PPB_Graphics3D_Impl : public ::ppapi::Resource, |
void ViewInitiatedPaint(); |
void ViewFlushedPaint(); |
+ PluginDelegate::PlatformContext3D* platform_context() { |
+ return platform_context_.get(); |
+ } |
+ |
protected: |
// ppapi::Graphics3DImpl overrides. |
virtual gpu::CommandBuffer* GetCommandBuffer() OVERRIDE; |