Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: webkit/plugins/ppapi/ppb_graphics_3d_impl.cc

Issue 9053003: Convert ppapi/shared to use TrackedCallback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comments Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());
}

Powered by Google App Engine
This is Rietveld 408576698