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

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

Issue 438293003: Enable Oilpan by default for webaudio/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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: Source/modules/webaudio/ConvolverNode.h
diff --git a/Source/modules/webaudio/ConvolverNode.h b/Source/modules/webaudio/ConvolverNode.h
index 3cee78271d662646f1bf89d947d3d9fd1e347656..04654b86c554dfaccfb71c5adf9b1c8b6bc58ac0 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 PassRefPtrWillBeRawPtr<ConvolverNode> create(AudioContext* context, float sampleRate)
+ static ConvolverNode* create(AudioContext* context, float sampleRate)
{
- return adoptRefWillBeNoop(new ConvolverNode(context, sampleRate));
+ return adoptRefCountedGarbageCollectedWillBeNoop(new ConvolverNode(context, sampleRate));
}
virtual ~ConvolverNode();
@@ -67,7 +67,7 @@ private:
virtual double latencyTime() const OVERRIDE;
OwnPtr<Reverb> m_reverb;
- RefPtrWillBeMember<AudioBuffer> m_buffer;
+ Member<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/DefaultAudioDestinationNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698