Index: remoting/protocol/connection_to_client.cc |
diff --git a/remoting/protocol/connection_to_client.cc b/remoting/protocol/connection_to_client.cc |
index 96c11e4eeddd4d9cefe79d6e011e8284ec56098e..ee2131a20dbc3d171cdb0f453cea45a719d7ae33 100644 |
--- a/remoting/protocol/connection_to_client.cc |
+++ b/remoting/protocol/connection_to_client.cc |
@@ -64,6 +64,10 @@ void ConnectionToClient::Disconnect() { |
} |
} |
+void ConnectionToClient::UpdateSequenceNumber(int64 sequence_number) { |
+ handler_->OnSequenceNumberUpdated(this, sequence_number); |
+} |
+ |
VideoStub* ConnectionToClient::video_stub() { |
return video_writer_.get(); |
} |
@@ -88,7 +92,7 @@ void ConnectionToClient::OnSessionStateChange(protocol::Session::State state) { |
video_writer_->Init(session_); |
dispatcher_.reset(new HostMessageDispatcher()); |
- dispatcher_->Initialize(session_.get(), host_stub_, input_stub_); |
+ dispatcher_->Initialize(this, host_stub_, input_stub_); |
} |
// This method can be called from main thread so perform threading switching. |