Index: Source/modules/encryptedmedia/MediaKeySession.h |
diff --git a/Source/modules/encryptedmedia/MediaKeySession.h b/Source/modules/encryptedmedia/MediaKeySession.h |
index 429e4cd87b7d960c88b232d431eeb7c60b3e964a..c055c022cd37ce69b572fa81d436c5534fb7c80a 100644 |
--- a/Source/modules/encryptedmedia/MediaKeySession.h |
+++ b/Source/modules/encryptedmedia/MediaKeySession.h |
@@ -27,7 +27,7 @@ |
#define MediaKeySession_h |
#include "bindings/v8/ScriptWrappable.h" |
-#include "core/dom/ContextDestructionObserver.h" |
+#include "core/dom/ContextLifecycleObserver.h" |
#include "core/dom/EventTarget.h" |
#include "core/dom/ExceptionCode.h" |
#include "core/platform/Timer.h" |
@@ -51,7 +51,7 @@ class ContentDecryptionModuleSession; |
// it may outlive any references to it as long as the MediaKeys object is alive. |
// The ContentDecryptionModuleSession has the same lifetime as this object. |
class MediaKeySession |
- : public RefCounted<MediaKeySession>, public ScriptWrappable, public EventTarget, public ContextDestructionObserver |
+ : public RefCounted<MediaKeySession>, public ScriptWrappable, public EventTarget, public ContextLifecycleObserver |
, private ContentDecryptionModuleSessionClient { |
public: |
static PassRefPtr<MediaKeySession> create(ScriptExecutionContext*, ContentDecryptionModule*, MediaKeys*); |