| Index: third_party/WebKit/Source/core/events/CompositionEvent.cpp
|
| diff --git a/third_party/WebKit/Source/core/events/CompositionEvent.cpp b/third_party/WebKit/Source/core/events/CompositionEvent.cpp
|
| index 3cf803375a01c0c7fb9524d1f0a36cfc6a13e878..60a041a57fc2b92bf2a1632e6d7ebe983ca3bb2e 100644
|
| --- a/third_party/WebKit/Source/core/events/CompositionEvent.cpp
|
| +++ b/third_party/WebKit/Source/core/events/CompositionEvent.cpp
|
| @@ -26,6 +26,8 @@
|
|
|
| #include "core/events/CompositionEvent.h"
|
|
|
| +#include "core/input/InputDeviceCapabilities.h"
|
| +
|
| namespace blink {
|
|
|
| CompositionEvent::CompositionEvent() {}
|
| @@ -33,15 +35,15 @@ CompositionEvent::CompositionEvent() {}
|
| CompositionEvent::CompositionEvent(const AtomicString& type,
|
| AbstractView* view,
|
| const String& data)
|
| - : UIEvent(
|
| - type,
|
| - true,
|
| - true,
|
| - ComposedMode::Composed,
|
| - TimeTicks::Now(),
|
| - view,
|
| - 0,
|
| - InputDeviceCapabilities::doesntFireTouchEventsSourceCapabilities()),
|
| + : UIEvent(type,
|
| + true,
|
| + true,
|
| + ComposedMode::Composed,
|
| + TimeTicks::Now(),
|
| + view,
|
| + 0,
|
| + view ? view->getInputDeviceCapabilities()->firesTouchEvents(false)
|
| + : nullptr),
|
| m_data(data) {}
|
|
|
| CompositionEvent::CompositionEvent(const AtomicString& type,
|
|
|