Index: webkit/plugins/ppapi/ppb_graphics_3d_impl.cc |
diff --git a/webkit/plugins/ppapi/ppb_graphics_3d_impl.cc b/webkit/plugins/ppapi/ppb_graphics_3d_impl.cc |
index 87b25a18a1edddfe15f1c45e5b81f95bb5054dcc..fbe89cf4ed0e96a44f95782cadfb520b48d716a3 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()); |
} |