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

Unified Diff: third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.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, 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/modules/encryptedmedia/MediaKeySession.cpp
diff --git a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
index 560a1dbfa64b2d291aa318c8b5acb2543e4e4b70..cebd2274397d54c3858da5b284657e49cc720f4d 100644
--- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
+++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
@@ -302,7 +302,7 @@ private:
MediaKeySession* MediaKeySession::create(ScriptState* scriptState, MediaKeys* mediaKeys, WebEncryptedMediaSessionType sessionType)
{
- RefPtrWillBeRawPtr<MediaKeySession> session = new MediaKeySession(scriptState, mediaKeys, sessionType);
+ RawPtr<MediaKeySession> session = new MediaKeySession(scriptState, mediaKeys, sessionType);
session->suspendIfNeeded();
return session.get();
}
@@ -801,7 +801,7 @@ void MediaKeySession::message(MessageType messageType, const unsigned char* mess
}
init.setMessage(DOMArrayBuffer::create(static_cast<const void*>(message), messageLength));
- RefPtrWillBeRawPtr<MediaKeyMessageEvent> event = MediaKeyMessageEvent::create(EventTypeNames::message, init);
+ RawPtr<MediaKeyMessageEvent> event = MediaKeyMessageEvent::create(EventTypeNames::message, init);
event->setTarget(this);
m_asyncEventQueue->enqueueEvent(event.release());
}
@@ -869,7 +869,7 @@ void MediaKeySession::keysStatusesChange(const WebVector<WebEncryptedMediaKeyInf
// 5. Queue a task to fire a simple event named keystatuseschange
// at the session.
- RefPtrWillBeRawPtr<Event> event = Event::create(EventTypeNames::keystatuseschange);
+ RawPtr<Event> event = Event::create(EventTypeNames::keystatuseschange);
event->setTarget(this);
m_asyncEventQueue->enqueueEvent(event.release());

Powered by Google App Engine
This is Rietveld 408576698