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

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

Issue 1805843002: [v8 gc] Introduce a base class for all objects that can have pending activity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 4 years, 9 months 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/AbstractAudioContext.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp b/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp
index 77e33cf658ad7fc9eb381c2fee5ec7012ebe62d4..efd5cd17cfbee13f2019e419a358fa7e68b1be36 100644
--- a/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp
@@ -80,7 +80,8 @@ AbstractAudioContext* AbstractAudioContext::create(Document& document, Exception
// Constructor for rendering to the audio hardware.
AbstractAudioContext::AbstractAudioContext(Document* document)
- : ActiveDOMObject(document)
+ : ActiveScriptWrappable(this)
+ , ActiveDOMObject(document)
, m_destinationNode(nullptr)
, m_isCleared(false)
, m_isResolvingResumePromises(false)
@@ -102,7 +103,8 @@ AbstractAudioContext::AbstractAudioContext(Document* document)
// Constructor for offline (non-realtime) rendering.
AbstractAudioContext::AbstractAudioContext(Document* document, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate)
- : ActiveDOMObject(document)
+ : ActiveScriptWrappable(this)
+ , ActiveDOMObject(document)
, m_destinationNode(nullptr)
, m_isCleared(false)
, m_isResolvingResumePromises(false)

Powered by Google App Engine
This is Rietveld 408576698