Index: third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h |
diff --git a/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h b/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h |
index ee3a493f71292382bff2216427cb75e92b259eeb..67a557c6974c2fc5822e5c6c1cd31ce6e0ac93c5 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h |
+++ b/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h |
@@ -27,6 +27,7 @@ |
#include "bindings/core/v8/ScriptPromise.h" |
#include "bindings/core/v8/ScriptPromiseResolver.h" |
+#include "bindings/core/v8/V8GCRoot.h" |
#include "core/dom/ActiveDOMObject.h" |
#include "core/dom/DOMTypedArray.h" |
#include "core/events/EventListener.h" |
@@ -81,7 +82,7 @@ class WaveShaperNode; |
// AbstractAudioContext is the cornerstone of the web audio API and all AudioNodes are created from it. |
// For thread safety between the audio thread and the main thread, it has a rendering graph locking mechanism. |
-class MODULES_EXPORT AbstractAudioContext : public RefCountedGarbageCollectedEventTargetWithInlineData<AbstractAudioContext>, public ActiveDOMObject { |
+class MODULES_EXPORT AbstractAudioContext : public RefCountedGarbageCollectedEventTargetWithInlineData<AbstractAudioContext>, public ActiveDOMObject, public V8GCRoot { |
REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(AbstractAudioContext); |
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(AbstractAudioContext); |
DEFINE_WRAPPERTYPEINFO(); |