| Index: third_party/WebKit/Source/modules/webaudio/WindowAudioWorklet.h
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/WindowAudioWorklet.h b/third_party/WebKit/Source/modules/webaudio/WindowAudioWorklet.h
|
| index 6f4c8bd33580f9976c4981634ff8ba0528977a48..c26fe278b694e42acafd5c78ea1372b9a86ff40d 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/WindowAudioWorklet.h
|
| +++ b/third_party/WebKit/Source/modules/webaudio/WindowAudioWorklet.h
|
| @@ -5,7 +5,7 @@
|
| #ifndef WindowAudioWorklet_h
|
| #define WindowAudioWorklet_h
|
|
|
| -#include "core/frame/DOMWindowProperty.h"
|
| +#include "core/dom/ContextLifecycleObserver.h"
|
| #include "modules/ModulesExport.h"
|
| #include "platform/Supplementable.h"
|
| #include "platform/heap/Handle.h"
|
| @@ -20,15 +20,15 @@ class Worklet;
|
| class MODULES_EXPORT WindowAudioWorklet final
|
| : public GarbageCollected<WindowAudioWorklet>,
|
| public Supplement<LocalDOMWindow>,
|
| - public DOMWindowProperty {
|
| + public ContextLifecycleObserver {
|
| USING_GARBAGE_COLLECTED_MIXIN(WindowAudioWorklet);
|
|
|
| public:
|
| static WindowAudioWorklet& from(LocalDOMWindow&);
|
| static Worklet* audioWorklet(DOMWindow&);
|
| - AudioWorklet* audioWorklet();
|
| + AudioWorklet* audioWorklet(LocalDOMWindow&);
|
|
|
| - void frameDestroyed() override;
|
| + void contextDestroyed() override;
|
|
|
| DECLARE_TRACE();
|
|
|
|
|