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

Unified Diff: third_party/WebKit/Source/modules/webaudio/ScriptProcessorNode.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/ScriptProcessorNode.h
diff --git a/third_party/WebKit/Source/modules/webaudio/ScriptProcessorNode.h b/third_party/WebKit/Source/modules/webaudio/ScriptProcessorNode.h
index 8adb2d0ff3304bc9fbe0d967b555c53388ea5f14..a77b52e67394f076d8e5017ff9b2ea43dfc8022b 100644
--- a/third_party/WebKit/Source/modules/webaudio/ScriptProcessorNode.h
+++ b/third_party/WebKit/Source/modules/webaudio/ScriptProcessorNode.h
@@ -93,6 +93,7 @@ private:
class ScriptProcessorNode final : public AudioNode, public ActiveScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
+ USING_GARBAGE_COLLECTED_MIXIN(ScriptProcessorNode);
public:
// bufferSize must be one of the following values: 256, 512, 1024, 2048,
// 4096, 8192, 16384.
@@ -110,6 +111,8 @@ public:
// ActiveScriptWrappable
bool hasPendingActivity() const final;
+ DEFINE_INLINE_VIRTUAL_TRACE() { AudioNode::trace(visitor); }
+
private:
ScriptProcessorNode(AbstractAudioContext&, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels);
};

Powered by Google App Engine
This is Rietveld 408576698