| Index: third_party/WebKit/Source/web/DevToolsEmulator.cpp
|
| diff --git a/third_party/WebKit/Source/web/DevToolsEmulator.cpp b/third_party/WebKit/Source/web/DevToolsEmulator.cpp
|
| index cb59bd0892dfe2ed841326ec0fe7cd32f6171b16..115075113d626761d0c0a966002ccf9da05fe9a1 100644
|
| --- a/third_party/WebKit/Source/web/DevToolsEmulator.cpp
|
| +++ b/third_party/WebKit/Source/web/DevToolsEmulator.cpp
|
| @@ -491,9 +491,9 @@ bool DevToolsEmulator::handleInputEvent(const WebInputEvent& inputEvent) {
|
|
|
| // FIXME: This workaround is required for touch emulation on Mac, where
|
| // compositor-side pinch handling is not enabled. See http://crbug.com/138003.
|
| - bool isPinch = inputEvent.type == WebInputEvent::GesturePinchBegin ||
|
| - inputEvent.type == WebInputEvent::GesturePinchUpdate ||
|
| - inputEvent.type == WebInputEvent::GesturePinchEnd;
|
| + bool isPinch = inputEvent.type() == WebInputEvent::GesturePinchBegin ||
|
| + inputEvent.type() == WebInputEvent::GesturePinchUpdate ||
|
| + inputEvent.type() == WebInputEvent::GesturePinchEnd;
|
| if (isPinch && m_touchEventEmulationEnabled) {
|
| FrameView* frameView = page->deprecatedLocalMainFrame()->view();
|
| PlatformGestureEventBuilder gestureEvent(
|
|
|