Index: remoting/host/client_session.cc |
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc |
index 51a33a5937cbafad54a2e4489f799b3fb711b269..61e4960d4f4792421b6bd37c020f8dccf75dba60 100644 |
--- a/remoting/host/client_session.cc |
+++ b/remoting/host/client_session.cc |
@@ -70,10 +70,11 @@ ClientSession::ClientSession( |
void ClientSession::NotifyClientDimensions( |
const protocol::ClientDimensions& dimensions) { |
- // TODO(wez): Use the dimensions, e.g. to resize the host desktop to match. |
if (dimensions.has_width() && dimensions.has_height()) { |
VLOG(1) << "Received ClientDimensions (width=" |
<< dimensions.width() << ", height=" << dimensions.height() << ")"; |
+ event_handler_->OnClientDimensionsChanged( |
+ SkISize::Make(dimensions.width(), dimensions.height())); |
} |
} |