| Index: Source/core/events/UIEvent.cpp
|
| diff --git a/Source/core/events/UIEvent.cpp b/Source/core/events/UIEvent.cpp
|
| index 7ec400e78f1de72f1d93e1205ad904e35e69bd1a..3aa3d1b296c7741564051cbb5851b77b9c812f2f 100644
|
| --- a/Source/core/events/UIEvent.cpp
|
| +++ b/Source/core/events/UIEvent.cpp
|
| @@ -53,7 +53,7 @@ UIEvent::~UIEvent()
|
| {
|
| }
|
|
|
| -void UIEvent::initUIEvent(const AtomicString& typeArg, bool canBubbleArg, bool cancelableArg, PassRefPtrWillBeRawPtr<AbstractView> viewArg, int detailArg)
|
| +void UIEvent::initUIEvent(const AtomicString& typeArg, bool canBubbleArg, bool cancelableArg, PassRefPtrWillBeRawPtr<AbstractView> viewArg, int detailArg, InputDevice* sourceDevice)
|
| {
|
| if (dispatched())
|
| return;
|
| @@ -62,7 +62,7 @@ void UIEvent::initUIEvent(const AtomicString& typeArg, bool canBubbleArg, bool c
|
|
|
| m_view = viewArg;
|
| m_detail = detailArg;
|
| - m_sourceDevice = nullptr;
|
| + m_sourceDevice = sourceDevice;
|
| }
|
|
|
| bool UIEvent::isUIEvent() const
|
|
|