Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Unified Diff: third_party/WebKit/Source/core/events/ScopedEventQueue.cpp

Issue 1852663002: Oilpan: Remove WillBe types (part 9) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698