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

Unified Diff: remoting/host/simple_host_process.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 | « remoting/host/json_host_config_unittest.cc ('k') | remoting/jingle_glue/channel_socket_adapter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/simple_host_process.cc
diff --git a/remoting/host/simple_host_process.cc b/remoting/host/simple_host_process.cc
index 744e1003c946f042e33a9ceaf0643e429ca01f9c..d998ef9c335bf4ffe8c6a57bd127c23eca2d4239 100644
--- a/remoting/host/simple_host_process.cc
+++ b/remoting/host/simple_host_process.cc
@@ -133,12 +133,12 @@ int main(int argc, char** argv) {
context.Start();
// Construct a chromoting host.
- scoped_refptr<remoting::ChromotingHost> host =
+ scoped_refptr<remoting::ChromotingHost> host(
new remoting::ChromotingHost(&context,
config,
capturer.release(),
encoder.release(),
- event_handler.release());
+ event_handler.release()));
// Let the chromoting host run until the shutdown task is executed.
MessageLoop message_loop(MessageLoop::TYPE_UI);
« no previous file with comments | « remoting/host/json_host_config_unittest.cc ('k') | remoting/jingle_glue/channel_socket_adapter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698