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

Unified Diff: ppapi/proxy/plugin_globals.cc

Issue 11189146: Eliminate implicit conversion from scoped_refptr<T> to T* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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
« no previous file with comments | « net/url_request/url_request.h ('k') | ppapi/shared_impl/callback_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/plugin_globals.cc
diff --git a/ppapi/proxy/plugin_globals.cc b/ppapi/proxy/plugin_globals.cc
index 360f2215270ea3da7055b9bb7d92d9dc5e513988..bc37022c8cc6d956dfd8cf514544a41962632001 100644
--- a/ppapi/proxy/plugin_globals.cc
+++ b/ppapi/proxy/plugin_globals.cc
@@ -39,11 +39,11 @@ VarTracker* PluginGlobals::GetVarTracker() {
return &plugin_var_tracker_;
}
-CallbackTracker* PluginGlobals::GetCallbackTrackerForInstance(
+scoped_refptr<CallbackTracker> PluginGlobals::GetCallbackTrackerForInstance(
PP_Instance instance) {
// In the plugin process, the callback tracker is always the same, regardless
// of the instance.
- return callback_tracker_.get();
+ return callback_tracker_;
}
FunctionGroupBase* PluginGlobals::GetFunctionAPI(PP_Instance inst, ApiID id) {
« no previous file with comments | « net/url_request/url_request.h ('k') | ppapi/shared_impl/callback_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698