| Index: Source/WebKit/chromium/src/WebInputEventConversion.cpp
|
| diff --git a/Source/WebKit/chromium/src/WebInputEventConversion.cpp b/Source/WebKit/chromium/src/WebInputEventConversion.cpp
|
| index 4a58d1943147def8a0dbc3e25aa5bdccba613d92..bde3286303a72a5408069a8f8df2899609337ed8 100644
|
| --- a/Source/WebKit/chromium/src/WebInputEventConversion.cpp
|
| +++ b/Source/WebKit/chromium/src/WebInputEventConversion.cpp
|
| @@ -325,7 +325,6 @@ bool PlatformKeyboardEventBuilder::isCharacterKey() const
|
| return true;
|
| }
|
|
|
| -#if ENABLE(TOUCH_EVENTS)
|
| inline PlatformEvent::Type toPlatformTouchEventType(const WebInputEvent::Type type)
|
| {
|
| switch (type) {
|
| @@ -407,7 +406,6 @@ PlatformTouchEventBuilder::PlatformTouchEventBuilder(Widget* widget, const WebTo
|
| for (unsigned i = 0; i < event.touchesLength; ++i)
|
| m_touchPoints.append(PlatformTouchPointBuilder(widget, event.touches[i]));
|
| }
|
| -#endif
|
|
|
| static int getWebInputModifiers(const UIEventWithKeyState& event)
|
| {
|
| @@ -576,8 +574,6 @@ WebKeyboardEventBuilder::WebKeyboardEventBuilder(const KeyboardEvent& event)
|
| memcpy(keyIdentifier, event.keyIdentifier().ascii().data(), event.keyIdentifier().length());
|
| }
|
|
|
| -#if ENABLE(TOUCH_EVENTS)
|
| -
|
| static void addTouchPoints(const Widget* widget, const AtomicString& touchType, TouchList* touches, WebTouchPoint* touchPoints, unsigned* touchPointsLength, const WebCore::RenderObject* renderObject)
|
| {
|
| unsigned numberOfTouches = std::min(touches->length(), static_cast<unsigned>(WebTouchEvent::touchesLengthCap));
|
| @@ -623,8 +619,6 @@ WebTouchEventBuilder::WebTouchEventBuilder(const Widget* widget, const WebCore::
|
| addTouchPoints(widget, event.type(), event.targetTouches(), targetTouches, &targetTouchesLength, renderObject);
|
| }
|
|
|
| -#endif // ENABLE(TOUCH_EVENTS)
|
| -
|
| WebGestureEventBuilder::WebGestureEventBuilder(const Widget* widget, const WebCore::RenderObject* renderObject, const GestureEvent& event)
|
| {
|
| if (event.type() == eventNames().gesturetapEvent)
|
|
|