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

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

Issue 2388693002: Make DOMWindowProperty a thin wrapper of ContextLifecycleObserver
Patch Set: temp 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
Index: third_party/WebKit/Source/modules/webaudio/WindowAudioWorklet.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/WindowAudioWorklet.cpp b/third_party/WebKit/Source/modules/webaudio/WindowAudioWorklet.cpp
index 3f6255407670558bc0608397ac552b11f34816c3..bd71b8000cbf62d4fa1b1d8cf00a6c81b17ed27d 100644
--- a/third_party/WebKit/Source/modules/webaudio/WindowAudioWorklet.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/WindowAudioWorklet.cpp
@@ -37,9 +37,9 @@ AudioWorklet* WindowAudioWorklet::audioWorklet() {
return m_audioWorklet.get();
}
-void WindowAudioWorklet::frameDestroyed() {
+void WindowAudioWorklet::contextDestroyed() {
m_audioWorklet.clear();
- DOMWindowProperty::frameDestroyed();
+ DOMWindowProperty::contextDestroyed();
}
DEFINE_TRACE(WindowAudioWorklet) {

Powered by Google App Engine
This is Rietveld 408576698