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

Unified Diff: Source/modules/webaudio/ConvolverNode.h

Issue 205173002: Move webaudio to oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 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
« no previous file with comments | « Source/modules/webaudio/ChannelSplitterNode.cpp ('k') | Source/modules/webaudio/ConvolverNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/ConvolverNode.h
diff --git a/Source/modules/webaudio/ConvolverNode.h b/Source/modules/webaudio/ConvolverNode.h
index e135a0187b296646ebadae9a6d51813bee7a4013..02ad70b3a8ffa66f316493ebe2fd3ccee027a0ea 100644
--- a/Source/modules/webaudio/ConvolverNode.h
+++ b/Source/modules/webaudio/ConvolverNode.h
@@ -38,9 +38,9 @@ class Reverb;
class ConvolverNode FINAL : public AudioNode {
public:
- static PassRefPtr<ConvolverNode> create(AudioContext* context, float sampleRate)
+ static PassRefPtrWillBeRawPtr<ConvolverNode> create(AudioContext* context, float sampleRate)
{
- return adoptRef(new ConvolverNode(context, sampleRate));
+ return adoptRefWillBeNoop(new ConvolverNode(context, sampleRate));
}
virtual ~ConvolverNode();
@@ -57,6 +57,8 @@ public:
bool normalize() const { return m_normalize; }
void setNormalize(bool normalize) { m_normalize = normalize; }
+ virtual void trace(Visitor*) OVERRIDE;
+
private:
ConvolverNode(AudioContext*, float sampleRate);
@@ -64,7 +66,7 @@ private:
virtual double latencyTime() const OVERRIDE;
OwnPtr<Reverb> m_reverb;
- RefPtr<AudioBuffer> m_buffer;
+ RefPtrWillBeMember<AudioBuffer> m_buffer;
// This synchronizes dynamic changes to the convolution impulse response with process().
mutable Mutex m_processLock;
« no previous file with comments | « Source/modules/webaudio/ChannelSplitterNode.cpp ('k') | Source/modules/webaudio/ConvolverNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698