| Index: Source/core/events/EventDispatcher.cpp
|
| diff --git a/Source/core/events/EventDispatcher.cpp b/Source/core/events/EventDispatcher.cpp
|
| index 3366362d38d0e20d6a012cb14351e4deb30265e7..0a61afe7a2d9440a272428a18bd1d96a1da2fe60 100644
|
| --- a/Source/core/events/EventDispatcher.cpp
|
| +++ b/Source/core/events/EventDispatcher.cpp
|
| @@ -42,7 +42,7 @@ namespace WebCore {
|
|
|
| static HashSet<Node*>* gNodesDispatchingSimulatedClicks = 0;
|
|
|
| -bool EventDispatcher::dispatchEvent(Node* node, PassRefPtr<EventDispatchMediator> mediator)
|
| +bool EventDispatcher::dispatchEvent(Node* node, PassRefPtrWillBeRawPtr<EventDispatchMediator> mediator)
|
| {
|
| TRACE_EVENT0("webkit", "EventDispatcher::dispatchEvent");
|
| ASSERT(!NoEventDispatchAssertion::isEventDispatchForbidden());
|
| @@ -66,7 +66,7 @@ EventDispatcher::EventDispatcher(Node* node, PassRefPtrWillBeRawPtr<Event> event
|
| m_event->ensureEventPath().resetWith(m_node.get());
|
| }
|
|
|
| -void EventDispatcher::dispatchScopedEvent(Node* node, PassRefPtr<EventDispatchMediator> mediator)
|
| +void EventDispatcher::dispatchScopedEvent(Node* node, PassRefPtrWillBeRawPtr<EventDispatchMediator> mediator)
|
| {
|
| // We need to set the target here because it can go away by the time we actually fire the event.
|
| mediator->event()->setTarget(EventPath::eventTargetRespectingTargetRules(node));
|
|
|