Index: Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp |
diff --git a/Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp b/Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp |
index 756cf440317e9d1ade6fea54bb15f137d6bde6a4..fc2271524b468c522b04a401320f69df781f70ab 100644 |
--- a/Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp |
+++ b/Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp |
@@ -207,10 +207,12 @@ WebCompositorInputHandlerImpl::EventDisposition WebCompositorInputHandlerImpl::h |
return DidHandle; |
else if (!m_flingActiveOnMainThread) |
return DropEvent; |
+#if ENABLE(TOUCH_EVENT_TRACKING) |
} else if (event.type == WebInputEvent::TouchStart) { |
const WebTouchEvent& touchEvent = *static_cast<const WebTouchEvent*>(&event); |
if (!m_inputHandlerClient->haveTouchEventHandlersAt(touchEvent.touches[0].position)) |
return DropEvent; |
+#endif |
} else if (WebInputEvent::isKeyboardEventType(event.type)) { |
cancelCurrentFling(); |
} |