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

Unified Diff: Source/platform/audio/AudioProcessor.h

Issue 409303002: Oilpan: WebAudio: Prepare to move AudioProcessor hierarchy to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add an ASSERT Created 6 years, 5 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
« no previous file with comments | « Source/modules/webaudio/WaveShaperNode.cpp ('k') | Source/platform/audio/AudioProcessor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/audio/AudioProcessor.h
diff --git a/Source/platform/audio/AudioProcessor.h b/Source/platform/audio/AudioProcessor.h
index ec9e99460d61e62d80fb979e7ecf9debe1b3be63..aded735abfeddde1392db8bb80c45c182eb672b9 100644
--- a/Source/platform/audio/AudioProcessor.h
+++ b/Source/platform/audio/AudioProcessor.h
@@ -32,6 +32,7 @@
#define AudioProcessor_h
#include "platform/PlatformExport.h"
+#include "platform/heap/Handle.h"
namespace blink {
@@ -41,7 +42,7 @@ class AudioBus;
// where the number of input channels equals the number of output channels. It can be used as one part of a complex DSP algorithm,
// or as the processor for a basic (one input - one output) AudioNode.
-class PLATFORM_EXPORT AudioProcessor {
+class PLATFORM_EXPORT AudioProcessor : public NoBaseWillBeGarbageCollectedFinalized<AudioProcessor> {
public:
AudioProcessor(float sampleRate, unsigned numberOfChannels)
: m_initialized(false)
@@ -51,6 +52,7 @@ public:
}
virtual ~AudioProcessor();
+ virtual void trace(Visitor*);
// Full initialization can be done here instead of in the constructor.
virtual void initialize() = 0;
« no previous file with comments | « Source/modules/webaudio/WaveShaperNode.cpp ('k') | Source/platform/audio/AudioProcessor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698