| Index: Source/core/events/TouchEvent.h
|
| diff --git a/Source/core/events/TouchEvent.h b/Source/core/events/TouchEvent.h
|
| index c5df36dbc98695f209762292fa4261550d79817b..9ed5287a8a0346c650f397a54f03ab3146be37be 100644
|
| --- a/Source/core/events/TouchEvent.h
|
| +++ b/Source/core/events/TouchEvent.h
|
| @@ -39,6 +39,7 @@ class CORE_EXPORT TouchEvent final : public UIEventWithKeyState {
|
| public:
|
| virtual ~TouchEvent();
|
|
|
| + // We only initialize sourceDevice when we create TouchEvent from EventHandler, null if it is from JavaScript.
|
| static PassRefPtrWillBeRawPtr<TouchEvent> create()
|
| {
|
| return adoptRefWillBeNoop(new TouchEvent);
|
|
|