| Index: Source/core/events/EventDispatcher.h
|
| diff --git a/Source/core/events/EventDispatcher.h b/Source/core/events/EventDispatcher.h
|
| index 9fac66f9acb0d86efb9464e9bce5e2a436367a9c..7f672eff67e5f23c4a239d1f5f0d8013615f9ac0 100644
|
| --- a/Source/core/events/EventDispatcher.h
|
| +++ b/Source/core/events/EventDispatcher.h
|
| @@ -27,6 +27,7 @@
|
| #define EventDispatcher_h
|
|
|
| #include "core/dom/SimulatedClickOptions.h"
|
| +#include "heap/Handle.h"
|
| #include "wtf/PassRefPtr.h"
|
| #include "wtf/RefPtr.h"
|
|
|
| @@ -56,7 +57,7 @@ public:
|
| Event* event() const { return m_event.get(); }
|
|
|
| private:
|
| - EventDispatcher(Node*, PassRefPtr<Event>);
|
| + EventDispatcher(Node*, PassRefPtrWillBeRawPtr<Event>);
|
| const NodeEventContext* topNodeEventContext();
|
|
|
| EventDispatchContinuation dispatchEventPreProcess(void*& preDispatchEventHandlerResult);
|
| @@ -66,7 +67,7 @@ private:
|
| void dispatchEventPostProcess(void* preDispatchEventHandlerResult);
|
|
|
| RefPtr<Node> m_node;
|
| - RefPtr<Event> m_event;
|
| + RefPtrWillBePersistent<Event> m_event;
|
| RefPtr<FrameView> m_view;
|
| #ifndef NDEBUG
|
| bool m_eventDispatched;
|
|
|