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

Unified Diff: chrome/renderer/webplugin_delegate_proxy.cc

Issue 4192012: Convert implicit scoped_refptr constructor calls to explicit ones, part 1 (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: fix presubmit 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
Index: chrome/renderer/webplugin_delegate_proxy.cc
diff --git a/chrome/renderer/webplugin_delegate_proxy.cc b/chrome/renderer/webplugin_delegate_proxy.cc
index d53909c9a89ca605074eadd6f7ec9cb2d10e02d3..eff2d291a029478843423965c41bc9e098f86901 100644
--- a/chrome/renderer/webplugin_delegate_proxy.cc
+++ b/chrome/renderer/webplugin_delegate_proxy.cc
@@ -294,9 +294,9 @@ bool WebPluginDelegateProxy::Initialize(const GURL& url,
IPC::AddChannelSocket(channel_handle.name, channel_handle.socket.fd);
#endif
- scoped_refptr<PluginChannelHost> channel_host =
+ scoped_refptr<PluginChannelHost> channel_host(
PluginChannelHost::GetPluginChannelHost(
- channel_handle.name, ChildProcess::current()->io_message_loop());
+ channel_handle.name, ChildProcess::current()->io_message_loop()));
if (!channel_host.get())
return false;
« no previous file with comments | « chrome/renderer/webplugin_delegate_pepper.cc ('k') | chrome/service/cloud_print/cloud_print_proxy_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698