| Index: remoting/client/plugin/chromoting_instance.cc
|
| diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc
|
| index e3a63e6d81c71039358985bd150c2c46eee2a719..90db58344b3f2324574d56baa893dca5d9181a33 100644
|
| --- a/remoting/client/plugin/chromoting_instance.cc
|
| +++ b/remoting/client/plugin/chromoting_instance.cc
|
| @@ -811,15 +811,16 @@ void ChromotingInstance::HandleNotifyClientResolution(
|
| }
|
|
|
| protocol::ClientResolution client_resolution;
|
| - client_resolution.set_width(width);
|
| - client_resolution.set_height(height);
|
| client_resolution.set_x_dpi(x_dpi);
|
| client_resolution.set_y_dpi(y_dpi);
|
| -
|
| - // Include the legacy width & height in DIPs for use by older hosts.
|
| client_resolution.set_dips_width((width * kDefaultDPI) / x_dpi);
|
| client_resolution.set_dips_height((height * kDefaultDPI) / y_dpi);
|
|
|
| + // Include the legacy width & height in physical pixels for use by older
|
| + // hosts.
|
| + client_resolution.set_width_deprecated(width);
|
| + client_resolution.set_height_deprecated(height);
|
| +
|
| client_->host_stub()->NotifyClientResolution(client_resolution);
|
| }
|
|
|
|
|