| Index: remoting/host/input_injector_mac.cc
|
| diff --git a/remoting/host/input_injector_mac.cc b/remoting/host/input_injector_mac.cc
|
| index 30ea580471f398a3163f09fadbea25ae3a907ecf..c5e870026e3deff4e3e9205e2a6902b76f579821 100644
|
| --- a/remoting/host/input_injector_mac.cc
|
| +++ b/remoting/host/input_injector_mac.cc
|
| @@ -248,8 +248,9 @@ void InputInjectorMac::Core::InjectMouseEvent(const MouseEvent& event) {
|
| webrtc::MacDesktopConfiguration::TopLeftOrigin);
|
|
|
| // Translate the mouse position into desktop coordinates.
|
| - mouse_pos_.add(webrtc::DesktopVector(desktop_config.pixel_bounds.left(),
|
| - desktop_config.pixel_bounds.top()));
|
| + mouse_pos_ = mouse_pos_.add(
|
| + webrtc::DesktopVector(desktop_config.pixel_bounds.left(),
|
| + desktop_config.pixel_bounds.top()));
|
|
|
| // Constrain the mouse position to the desktop coordinates.
|
| mouse_pos_.set(
|
|
|