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

Unified Diff: third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp

Issue 2567913002: Rename ActiveDOMObject to SuspendableObject (Closed)
Patch Set: Created 4 years 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 f67e95da40a95e05d45e066cc2d502aae3100002..a0b4661e021a8d4d6a007931140a8f6dc3045916 100644
--- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
+++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
@@ -365,7 +365,7 @@ MediaKeySession::MediaKeySession(ScriptState* scriptState,
MediaKeys* mediaKeys,
WebEncryptedMediaSessionType sessionType)
: ActiveScriptWrappable(this),
- ActiveDOMObject(scriptState->getExecutionContext()),
+ SuspendableObject(scriptState->getExecutionContext()),
m_asyncEventQueue(GenericEventQueue::create(this)),
m_mediaKeys(mediaKeys),
m_sessionType(sessionType),
@@ -1014,7 +1014,7 @@ const AtomicString& MediaKeySession::interfaceName() const {
}
ExecutionContext* MediaKeySession::getExecutionContext() const {
- return ActiveDOMObject::getExecutionContext();
+ return SuspendableObject::getExecutionContext();
}
bool MediaKeySession::hasPendingActivity() const {
@@ -1048,7 +1048,7 @@ DEFINE_TRACE(MediaKeySession) {
visitor->trace(m_keyStatusesMap);
visitor->trace(m_closedPromise);
EventTargetWithInlineData::trace(visitor);
- ActiveDOMObject::trace(visitor);
+ SuspendableObject::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698