| Index: third_party/WebKit/Source/core/events/ScopedEventQueue.cpp
|
| diff --git a/third_party/WebKit/Source/core/events/ScopedEventQueue.cpp b/third_party/WebKit/Source/core/events/ScopedEventQueue.cpp
|
| index 2c8bfd1c41da0d00c80fa0798542240ea6315a08..9f1ce8a5291a7e879ce2e3e4927f8729e5b7f223 100644
|
| --- a/third_party/WebKit/Source/core/events/ScopedEventQueue.cpp
|
| +++ b/third_party/WebKit/Source/core/events/ScopedEventQueue.cpp
|
| @@ -58,7 +58,7 @@ void ScopedEventQueue::initialize()
|
| s_instance = instance.leakPtr();
|
| }
|
|
|
| -void ScopedEventQueue::enqueueEventDispatchMediator(PassRefPtrWillBeRawPtr<EventDispatchMediator> mediator)
|
| +void ScopedEventQueue::enqueueEventDispatchMediator(RawPtr<EventDispatchMediator> mediator)
|
| {
|
| if (shouldQueueEvents())
|
| m_queuedEventDispatchMediators.append(mediator);
|
| @@ -68,14 +68,14 @@ void ScopedEventQueue::enqueueEventDispatchMediator(PassRefPtrWillBeRawPtr<Event
|
|
|
| void ScopedEventQueue::dispatchAllEvents()
|
| {
|
| - WillBeHeapVector<RefPtrWillBeMember<EventDispatchMediator>> queuedEventDispatchMediators;
|
| + HeapVector<Member<EventDispatchMediator>> queuedEventDispatchMediators;
|
| queuedEventDispatchMediators.swap(m_queuedEventDispatchMediators);
|
|
|
| for (size_t i = 0; i < queuedEventDispatchMediators.size(); i++)
|
| dispatchEvent(queuedEventDispatchMediators[i].release());
|
| }
|
|
|
| -void ScopedEventQueue::dispatchEvent(PassRefPtrWillBeRawPtr<EventDispatchMediator> mediator) const
|
| +void ScopedEventQueue::dispatchEvent(RawPtr<EventDispatchMediator> mediator) const
|
| {
|
| ASSERT(mediator->event().target());
|
| Node* node = mediator->event().target()->toNode();
|
|
|