Index: remoting/protocol/connection_to_host.cc |
diff --git a/remoting/protocol/connection_to_host.cc b/remoting/protocol/connection_to_host.cc |
index 25a8949623412647490334873eb04ff5fb7e0774..68058548f5f3e9342b2803b7be4b90cf57847ea8 100644 |
--- a/remoting/protocol/connection_to_host.cc |
+++ b/remoting/protocol/connection_to_host.cc |
@@ -65,10 +65,12 @@ void ConnectionToHost::Connect(scoped_refptr<XmppProxy> xmpp_proxy, |
HostEventCallback* event_callback, |
ClientStub* client_stub, |
ClipboardStub* clipboard_stub, |
+ CursorShapeStub* cursor_shape_stub, |
VideoStub* video_stub) { |
event_callback_ = event_callback; |
client_stub_ = client_stub; |
clipboard_stub_ = clipboard_stub; |
+ cursor_shape_stub_ = cursor_shape_stub; |
video_stub_ = video_stub; |
authenticator_ = authenticator.Pass(); |
@@ -176,6 +178,7 @@ void ConnectionToHost::OnSessionStateChange( |
&ConnectionToHost::OnChannelInitialized, base::Unretained(this))); |
control_dispatcher_->set_client_stub(client_stub_); |
control_dispatcher_->set_clipboard_stub(clipboard_stub_); |
+ control_dispatcher_->set_cursor_shape_stub(cursor_shape_stub_); |
event_dispatcher_.reset(new ClientEventDispatcher()); |
event_dispatcher_->Init(session_.get(), base::Bind( |