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

Unified Diff: ppapi/proxy/plugin_resource.cc

Issue 467303005: Remove implicit conversions from scoped_refptr to T* in ppapi/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/plugin_resource.cc
diff --git a/ppapi/proxy/plugin_resource.cc b/ppapi/proxy/plugin_resource.cc
index 23094fe84445432a7b759bdfdd24afd826284d09..f228a5e0a4535495bd3b40ef07d51c4cf11e3a1e 100644
--- a/ppapi/proxy/plugin_resource.cc
+++ b/ppapi/proxy/plugin_resource.cc
@@ -34,7 +34,7 @@ PluginResource::~PluginResource() {
new PpapiHostMsg_ResourceDestroyed(pp_resource()));
}
- if (resource_reply_thread_registrar_)
+ if (resource_reply_thread_registrar_.get())
resource_reply_thread_registrar_->Unregister(pp_resource());
}

Powered by Google App Engine
This is Rietveld 408576698