| Index: third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.h
|
| diff --git a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.h b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.h
|
| index 08adeb7a46e3c3a3b254be76b7f318abd7a61500..59b983753b663cff82c40bc0cf5143e6a2b3e383 100644
|
| --- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.h
|
| +++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.h
|
| @@ -28,8 +28,8 @@
|
|
|
| #include "bindings/core/v8/ActiveScriptWrappable.h"
|
| #include "bindings/core/v8/ScriptPromiseProperty.h"
|
| +#include "core/dom/ContextLifecycleObserver.h"
|
| #include "core/dom/DOMArrayPiece.h"
|
| -#include "core/dom/SuspendableObject.h"
|
| #include "modules/EventTargetModules.h"
|
| #include "modules/encryptedmedia/MediaKeyStatusMap.h"
|
| #include "platform/Timer.h"
|
| @@ -64,7 +64,7 @@ class MediaKeys;
|
| class MediaKeySession final
|
| : public EventTargetWithInlineData,
|
| public ActiveScriptWrappable<MediaKeySession>,
|
| - public SuspendableObject,
|
| + public ContextLifecycleObserver,
|
| private WebContentDecryptionModuleSession::Client {
|
| DEFINE_WRAPPERTYPEINFO();
|
| USING_GARBAGE_COLLECTED_MIXIN(MediaKeySession);
|
| @@ -99,7 +99,7 @@ class MediaKeySession final
|
| // ScriptWrappable
|
| bool hasPendingActivity() const final;
|
|
|
| - // SuspendableObject
|
| + // ContextLifecycleObserver
|
| void contextDestroyed() override;
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|