Index: Source/modules/encryptedmedia/MediaKeySession.cpp |
diff --git a/Source/modules/encryptedmedia/MediaKeySession.cpp b/Source/modules/encryptedmedia/MediaKeySession.cpp |
index e5b10551319ccef2150ce6e7459d61e3f0f62757..f95704a5dd77f8d8f65c2a13140fd6b8e5041056 100644 |
--- a/Source/modules/encryptedmedia/MediaKeySession.cpp |
+++ b/Source/modules/encryptedmedia/MediaKeySession.cpp |
@@ -41,7 +41,7 @@ PassRefPtr<MediaKeySession> MediaKeySession::create(ScriptExecutionContext* cont |
} |
MediaKeySession::MediaKeySession(ScriptExecutionContext* context, ContentDecryptionModule* cdm, MediaKeys* keys) |
- : ContextDestructionObserver(context) |
+ : ContextLifecycleObserver(context) |
, m_asyncEventQueue(GenericEventQueue::create(this)) |
, m_keySystem(keys->keySystem()) |
, m_session(cdm->createSession(this)) |
@@ -198,7 +198,7 @@ const AtomicString& MediaKeySession::interfaceName() const |
ScriptExecutionContext* MediaKeySession::scriptExecutionContext() const |
{ |
- return ContextDestructionObserver::scriptExecutionContext(); |
+ return ContextLifecycleObserver::scriptExecutionContext(); |
} |
} |