summaryrefslogtreecommitdiffstats
path: root/remoting/client/chromoting_client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/client/chromoting_client.cc')
-rw-r--r--remoting/client/chromoting_client.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/client/chromoting_client.cc b/remoting/client/chromoting_client.cc
index 95271be..8b46a9d 100644
--- a/remoting/client/chromoting_client.cc
+++ b/remoting/client/chromoting_client.cc
@@ -131,10 +131,10 @@ void ChromotingClient::DispatchMessage() {
// TODO(ajwong): Change this to use a done callback.
InitClient(msg->init_client(),
NewTracedMethod(this, &ChromotingClient::OnMessageDone, msg));
- } else if (msg->has_rectangle_update()) {
+ } else if (msg->has_video_packet()) {
ScopedTracer tracer("Handle Rectangle Update");
rectangle_decoder_->DecodePacket(
- msg->rectangle_update(),
+ msg->video_packet(),
NewTracedMethod(this, &ChromotingClient::OnMessageDone, msg));
} else {
NOTREACHED() << "Unknown message received";