diff options
Diffstat (limited to 'webkit/plugins/ppapi/ppb_graphics_3d_impl.cc')
-rw-r--r-- | webkit/plugins/ppapi/ppb_graphics_3d_impl.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/webkit/plugins/ppapi/ppb_graphics_3d_impl.cc b/webkit/plugins/ppapi/ppb_graphics_3d_impl.cc index 87b25a1..fbe89cf 100644 --- a/webkit/plugins/ppapi/ppb_graphics_3d_impl.cc +++ b/webkit/plugins/ppapi/ppb_graphics_3d_impl.cc @@ -53,7 +53,7 @@ PP_Graphics3DTrustedState PPStateFromGPUState( } // namespace. PPB_Graphics3D_Impl::PPB_Graphics3D_Impl(PP_Instance instance) - : Resource(instance), + : PPB_Graphics3D_Shared(instance), bound_to_instance_(false), commit_pending_(false), weak_ptr_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) { @@ -84,10 +84,6 @@ PP_Resource PPB_Graphics3D_Impl::CreateRaw(PP_Instance instance, return graphics_3d->GetReference(); } -PPB_Graphics3D_API* PPB_Graphics3D_Impl::AsPPB_Graphics3D_API() { - return this; -} - PP_Bool PPB_Graphics3D_Impl::InitCommandBuffer() { return PP_FromBool(GetCommandBuffer()->Initialize()); } |