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

Unified Diff: third_party/WebKit/Source/modules/webaudio/WindowAudioWorklet.h

Issue 2567243005: WindowAudioWorklet should use ContextLifecycleObserver instead of DOMWindowProperty (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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webaudio/WindowAudioWorklet.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webaudio/WindowAudioWorklet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698