Chromium Code Reviews| Index: Source/core/events/TouchEvent.cpp |
| diff --git a/Source/core/events/TouchEvent.cpp b/Source/core/events/TouchEvent.cpp |
| index d064db1a6c98436166495eda847ca5629a784b4a..67645848b7d8fb65a02383ca6ff95f3b053b5328 100644 |
| --- a/Source/core/events/TouchEvent.cpp |
| +++ b/Source/core/events/TouchEvent.cpp |
| @@ -46,7 +46,7 @@ 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, |
| + : UIEventWithKeyState(type, true, cancelable, view, 0, InputDevice::touchEventInstance(), |
|
tdresser
2015/06/08 12:36:39
Add a comment on why it's okay to set sourceDevice
|
| ctrlKey, altKey, shiftKey, metaKey) |
| , m_touches(touches) |
| , m_targetTouches(targetTouches) |