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

Unified Diff: chrome/plugin/plugin_channel.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
« no previous file with comments | « chrome/common/webmessageportchannel_impl.cc ('k') | chrome/plugin/plugin_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/plugin/plugin_channel.cc
diff --git a/chrome/plugin/plugin_channel.cc b/chrome/plugin/plugin_channel.cc
index a3216c606be492dd48218306888f14773f3cba6c..aa3b7130379c53e5b6325f91cc9ac00165f95d2d 100644
--- a/chrome/plugin/plugin_channel.cc
+++ b/chrome/plugin/plugin_channel.cc
@@ -218,8 +218,8 @@ void PluginChannel::OnControlMessageReceived(const IPC::Message& msg) {
void PluginChannel::OnCreateInstance(const std::string& mime_type,
int* instance_id) {
*instance_id = GenerateRouteID();
- scoped_refptr<WebPluginDelegateStub> stub = new WebPluginDelegateStub(
- mime_type, *instance_id, this);
+ scoped_refptr<WebPluginDelegateStub> stub(new WebPluginDelegateStub(
+ mime_type, *instance_id, this));
AddRoute(*instance_id, stub, NULL);
plugin_stubs_.push_back(stub);
}
« no previous file with comments | « chrome/common/webmessageportchannel_impl.cc ('k') | chrome/plugin/plugin_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698