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(), |