| Index: remoting/host/input_injector_mac.cc
|
| diff --git a/remoting/host/input_injector_mac.cc b/remoting/host/input_injector_mac.cc
|
| index 0fc037963d9aa19ab5bb6ef680500c28e5367f4b..fe7d80a7ed3be3f08a32a442e3d2d1c24b865508 100644
|
| --- a/remoting/host/input_injector_mac.cc
|
| +++ b/remoting/host/input_injector_mac.cc
|
| @@ -251,9 +251,8 @@ void InputInjectorMac::Core::InjectMouseEvent(const MouseEvent& event) {
|
| if (event.has_wheel_delta_x() && event.has_wheel_delta_y()) {
|
| int delta_x = static_cast<int>(event.wheel_delta_x());
|
| int delta_y = static_cast<int>(event.wheel_delta_y());
|
| - base::mac::ScopedCFTypeRef<CGEventRef> event(
|
| - CGEventCreateScrollWheelEvent(
|
| - NULL, kCGScrollEventUnitPixel, 2, delta_y, delta_x));
|
| + base::ScopedCFTypeRef<CGEventRef> event(CGEventCreateScrollWheelEvent(
|
| + NULL, kCGScrollEventUnitPixel, 2, delta_y, delta_x));
|
| if (event)
|
| CGEventPost(kCGSessionEventTap, event);
|
| }
|
|
|