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

Unified Diff: remoting/protocol/host_message_dispatcher.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: remoting/protocol/host_message_dispatcher.cc
diff --git a/remoting/protocol/host_message_dispatcher.cc b/remoting/protocol/host_message_dispatcher.cc
index 818934fd441fd800d28892fada2c241537218654..768789e933699c5e1038b1f671a6207f46a24c49 100644
--- a/remoting/protocol/host_message_dispatcher.cc
+++ b/remoting/protocol/host_message_dispatcher.cc
@@ -46,8 +46,8 @@ bool HostMessageDispatcher::Initialize(
void HostMessageDispatcher::OnControlMessageReceived(
ClientControlMessage* message) {
- scoped_refptr<RefCountedMessage<ClientControlMessage> > ref_msg =
- new RefCountedMessage<ClientControlMessage>(message);
+ scoped_refptr<RefCountedMessage<ClientControlMessage> > ref_msg(
+ new RefCountedMessage<ClientControlMessage>(message));
if (message->has_suggest_screen_resolution_request()) {
control_message_handler_->OnSuggestScreenResolutionRequest(
message->suggest_screen_resolution_request(),
« no previous file with comments | « remoting/jingle_glue/stream_socket_adapter_unittest.cc ('k') | remoting/protocol/jingle_chromotocol_connection_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698