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

Unified Diff: third_party/WebKit/Source/modules/mediastream/RTCDataChannel.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/modules/mediastream/RTCDataChannel.cpp
diff --git a/third_party/WebKit/Source/modules/mediastream/RTCDataChannel.cpp b/third_party/WebKit/Source/modules/mediastream/RTCDataChannel.cpp
index ad474ad7430119692b6e050980a21891d8132821..bef3f147ce8ffda1868d0934ff40c2fcadaa87d7 100644
--- a/third_party/WebKit/Source/modules/mediastream/RTCDataChannel.cpp
+++ b/third_party/WebKit/Source/modules/mediastream/RTCDataChannel.cpp
@@ -294,7 +294,7 @@ ExecutionContext* RTCDataChannel::executionContext() const
return m_executionContext;
}
-void RTCDataChannel::scheduleDispatchEvent(PassRefPtrWillBeRawPtr<Event> event)
+void RTCDataChannel::scheduleDispatchEvent(RawPtr<Event> event)
{
m_scheduledEvents.append(event);
@@ -304,10 +304,10 @@ void RTCDataChannel::scheduleDispatchEvent(PassRefPtrWillBeRawPtr<Event> event)
void RTCDataChannel::scheduledEventTimerFired(Timer<RTCDataChannel>*)
{
- WillBeHeapVector<RefPtrWillBeMember<Event>> events;
+ HeapVector<Member<Event>> events;
events.swap(m_scheduledEvents);
- WillBeHeapVector<RefPtrWillBeMember<Event>>::iterator it = events.begin();
+ HeapVector<Member<Event>>::iterator it = events.begin();
for (; it != events.end(); ++it)
dispatchEvent((*it).release());

Powered by Google App Engine
This is Rietveld 408576698