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

Unified Diff: chrome/browser/plugin_service.cc

Issue 3925002: Use scoped_refptr for refcounted param in PluginService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Oops, one more spot. Created 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugin_service.cc
diff --git a/chrome/browser/plugin_service.cc b/chrome/browser/plugin_service.cc
index 5f8602046f52af62855d337b199f9e3887540f89..a3d636b733cd7238c677fad547c725045c1570a4 100644
--- a/chrome/browser/plugin_service.cc
+++ b/chrome/browser/plugin_service.cc
@@ -260,7 +260,7 @@ void PluginService::OpenChannelToPlugin(
BrowserThread::FILE, FROM_HERE,
NewRunnableMethod(
this, &PluginService::GetAllowedPluginForOpenChannelToPlugin,
- renderer_msg_filter, url, mime_type, reply_msg));
+ make_scoped_refptr(renderer_msg_filter), url, mime_type, reply_msg));
}
void PluginService::GetAllowedPluginForOpenChannelToPlugin(
@@ -280,7 +280,8 @@ void PluginService::GetAllowedPluginForOpenChannelToPlugin(
BrowserThread::IO, FROM_HERE,
NewRunnableMethod(
this, &PluginService::FinishOpenChannelToPlugin,
- renderer_msg_filter, mime_type, plugin_path, reply_msg));
+ make_scoped_refptr(renderer_msg_filter), mime_type, plugin_path,
+ reply_msg));
}
void PluginService::FinishOpenChannelToPlugin(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698