| Index: Source/core/input/EventHandler.cpp
|
| diff --git a/Source/core/input/EventHandler.cpp b/Source/core/input/EventHandler.cpp
|
| index 04ea9c7ca66c2dff45ccfb07649c78b4a48899a2..74aefcb724804eab1f45bd8af3f4989c80a8bc67 100644
|
| --- a/Source/core/input/EventHandler.cpp
|
| +++ b/Source/core/input/EventHandler.cpp
|
| @@ -40,6 +40,7 @@
|
| #include "core/editing/Editor.h"
|
| #include "core/editing/FrameSelection.h"
|
| #include "core/editing/SelectionController.h"
|
| +#include "core/events/DragEvent.h"
|
| #include "core/events/EventPath.h"
|
| #include "core/events/KeyboardEvent.h"
|
| #include "core/events/MouseEvent.h"
|
| @@ -1278,7 +1279,7 @@ bool EventHandler::dispatchDragEvent(const AtomicString& eventType, Node* dragTa
|
| if (!view)
|
| return false;
|
|
|
| - RefPtrWillBeRawPtr<MouseEvent> me = MouseEvent::create(eventType,
|
| + RefPtrWillBeRawPtr<DragEvent> me = DragEvent::create(eventType,
|
| true, true, m_frame->document()->domWindow(),
|
| 0, event.globalPosition().x(), event.globalPosition().y(), event.position().x(), event.position().y(),
|
| event.movementDelta().x(), event.movementDelta().y(),
|
|
|