| Index: third_party/WebKit/Source/core/events/TouchEvent.cpp
|
| diff --git a/third_party/WebKit/Source/core/events/TouchEvent.cpp b/third_party/WebKit/Source/core/events/TouchEvent.cpp
|
| index d0432eb0a0ee47adc8960b51c5f6131edc35afb3..42ee9a7f731a387d0f63c7169dfeefe867d8baf4 100644
|
| --- a/third_party/WebKit/Source/core/events/TouchEvent.cpp
|
| +++ b/third_party/WebKit/Source/core/events/TouchEvent.cpp
|
| @@ -33,6 +33,7 @@
|
| #include "core/frame/FrameView.h"
|
| #include "core/frame/LocalDOMWindow.h"
|
| #include "core/html/HTMLElement.h"
|
| +#include "core/input/InputDeviceCapabilities.h"
|
| #include "core/inspector/ConsoleMessage.h"
|
| #include "platform/Histogram.h"
|
|
|
| @@ -225,7 +226,8 @@ TouchEvent::TouchEvent(TouchList* touches,
|
| 0,
|
| modifiers,
|
| platformTimeStamp,
|
| - InputDeviceCapabilities::firesTouchEventsSourceCapabilities()),
|
| + view ? view->getInputDeviceCapabilities()->firesTouchEvents(true)
|
| + : nullptr),
|
| m_touches(touches),
|
| m_targetTouches(targetTouches),
|
| m_changedTouches(changedTouches),
|
|
|