| Index: Source/core/events/TouchEvent.cpp
|
| diff --git a/Source/core/events/TouchEvent.cpp b/Source/core/events/TouchEvent.cpp
|
| index d064db1a6c98436166495eda847ca5629a784b4a..d48342f75156a9721129b66b9d27e03e14bf423f 100644
|
| --- a/Source/core/events/TouchEvent.cpp
|
| +++ b/Source/core/events/TouchEvent.cpp
|
| @@ -46,8 +46,8 @@ TouchEvent::TouchEvent(TouchList* touches, TouchList* targetTouches,
|
| PassRefPtrWillBeRawPtr<AbstractView> view,
|
| bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool cancelable, bool causesScrollingIfUncanceled,
|
| double uiCreateTime)
|
| - : UIEventWithKeyState(type, true, cancelable, view, 0,
|
| - ctrlKey, altKey, shiftKey, metaKey)
|
| + // Pass a sourceDevice which fires touchevents when creating this touchevent, which is always created from input devices from EventHandler.
|
| + : UIEventWithKeyState(type, true, cancelable, view, 0, ctrlKey, altKey, shiftKey, metaKey, InputDevice::touchEventInstance())
|
| , m_touches(touches)
|
| , m_targetTouches(targetTouches)
|
| , m_changedTouches(changedTouches)
|
|
|