Index: remoting/protocol/connection_to_client.cc |
diff --git a/remoting/protocol/connection_to_client.cc b/remoting/protocol/connection_to_client.cc |
index 9925648dd7ecaf43beb203891aa0e7d9a686aa1b..7967abb1b01ee258f9ced376ca76adc7a781e373 100644 |
--- a/remoting/protocol/connection_to_client.cc |
+++ b/remoting/protocol/connection_to_client.cc |
@@ -43,20 +43,6 @@ protocol::Session* ConnectionToClient::session() { |
return session_; |
} |
-void ConnectionToClient::SendInitClientMessage(int width, int height) { |
- DCHECK_EQ(loop_, MessageLoop::current()); |
- |
- // If we are disconnected then return. |
- if (!session_) |
- return; |
- |
- ChromotingHostMessage msg; |
- msg.mutable_init_client()->set_width(width); |
- msg.mutable_init_client()->set_height(height); |
- DCHECK(msg.IsInitialized()); |
- control_writer_.SendMessage(msg); |
-} |
- |
void ConnectionToClient::SendVideoPacket(const VideoPacket& packet) { |
DCHECK_EQ(loop_, MessageLoop::current()); |