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

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

Issue 1962113003: Make ActiveScriptWrappable the GC mixin it is. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/AudioScheduledSourceNode.h
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h b/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h
index d0cd060add7a159550c6a19b27ee5a3a2191b33e..39c6d82221ad0a14bf9338b82e1d40e042f3ee9a 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h
+++ b/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h
@@ -122,6 +122,7 @@ private:
};
class AudioScheduledSourceNode : public AudioSourceNode, public ActiveScriptWrappable {
+ USING_GARBAGE_COLLECTED_MIXIN(AudioScheduledSourceNode);
public:
void start(ExceptionState&);
void start(double when, ExceptionState&);
@@ -134,6 +135,8 @@ public:
// ActiveScriptWrappable
bool hasPendingActivity() const final;
+ DEFINE_INLINE_VIRTUAL_TRACE() { AudioSourceNode::trace(visitor); }
+
protected:
explicit AudioScheduledSourceNode(AbstractAudioContext&);
AudioScheduledSourceHandler& audioScheduledSourceHandler() const;

Powered by Google App Engine
This is Rietveld 408576698