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

Unified Diff: ppapi/proxy/ppb_context_3d_proxy.cc

Issue 7608030: Convert the PluginResource to be refcounted. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 4 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: ppapi/proxy/ppb_context_3d_proxy.cc
diff --git a/ppapi/proxy/ppb_context_3d_proxy.cc b/ppapi/proxy/ppb_context_3d_proxy.cc
index 9bf9098207308919a376d39abe2a3de4cf2257f5..1c33a22ade30d60996f1017ac1557e185ddeba6c 100644
--- a/ppapi/proxy/ppb_context_3d_proxy.cc
+++ b/ppapi/proxy/ppb_context_3d_proxy.cc
@@ -578,7 +578,7 @@ PP_Resource PPB_Context3D_Proxy::Create(PP_Instance instance,
if (result.is_null())
return 0;
- linked_ptr<Context3D> context_3d(new Context3D(result));
+ scoped_refptr<Context3D> context_3d(new Context3D(result));
if (!context_3d->CreateImplementation())
return 0;
return PluginResourceTracker::GetInstance()->AddResource(context_3d);

Powered by Google App Engine
This is Rietveld 408576698