diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-20 16:19:55 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-20 16:19:55 +0000 |
commit | 578a6b03b128cc4d9c7ec734d547ab2386c8efbb (patch) | |
tree | cb76ef9209b24440fc240b7fabbd12d3aa1d4ce3 | |
parent | 8c671be3c081932add13148f0437901b729bcff5 (diff) | |
download | chromium_src-578a6b03b128cc4d9c7ec734d547ab2386c8efbb.zip chromium_src-578a6b03b128cc4d9c7ec734d547ab2386c8efbb.tar.gz chromium_src-578a6b03b128cc4d9c7ec734d547ab2386c8efbb.tar.bz2 |
Use scoped_refptr for refcounted param in PluginService.
BUG=28083
TEST=none
Review URL: http://codereview.chromium.org/3925002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63219 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/plugin_service.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/plugin_service.cc b/chrome/browser/plugin_service.cc index 5f86020..a3d636b 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( |