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

Unified Diff: Source/modules/webaudio/DynamicsCompressorNode.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/DelayProcessor.h ('k') | Source/modules/webaudio/DynamicsCompressorNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/DynamicsCompressorNode.h
diff --git a/Source/modules/webaudio/DynamicsCompressorNode.h b/Source/modules/webaudio/DynamicsCompressorNode.h
index 810477cde4e263a2b5a5d23bd1593061c568ae48..068c6696fdb84fcfa9752ad3a8bef34e1cef811f 100644
--- a/Source/modules/webaudio/DynamicsCompressorNode.h
+++ b/Source/modules/webaudio/DynamicsCompressorNode.h
@@ -35,9 +35,9 @@ class DynamicsCompressor;
class DynamicsCompressorNode FINAL : public AudioNode {
public:
- static PassRefPtr<DynamicsCompressorNode> create(AudioContext* context, float sampleRate)
+ static PassRefPtrWillBeRawPtr<DynamicsCompressorNode> create(AudioContext* context, float sampleRate)
{
- return adoptRef(new DynamicsCompressorNode(context, sampleRate));
+ return adoptRefWillBeNoop(new DynamicsCompressorNode(context, sampleRate));
}
virtual ~DynamicsCompressorNode();
@@ -57,6 +57,8 @@ public:
// Amount by which the compressor is currently compressing the signal in decibels.
AudioParam* reduction() { return m_reduction.get(); }
+ virtual void trace(Visitor*) OVERRIDE;
+
private:
virtual double tailTime() const OVERRIDE;
virtual double latencyTime() const OVERRIDE;
@@ -64,12 +66,12 @@ private:
DynamicsCompressorNode(AudioContext*, float sampleRate);
OwnPtr<DynamicsCompressor> m_dynamicsCompressor;
- RefPtr<AudioParam> m_threshold;
- RefPtr<AudioParam> m_knee;
- RefPtr<AudioParam> m_ratio;
- RefPtr<AudioParam> m_reduction;
- RefPtr<AudioParam> m_attack;
- RefPtr<AudioParam> m_release;
+ RefPtrWillBeMember<AudioParam> m_threshold;
+ RefPtrWillBeMember<AudioParam> m_knee;
+ RefPtrWillBeMember<AudioParam> m_ratio;
+ RefPtrWillBeMember<AudioParam> m_reduction;
+ RefPtrWillBeMember<AudioParam> m_attack;
+ RefPtrWillBeMember<AudioParam> m_release;
};
} // namespace WebCore
« no previous file with comments | « Source/modules/webaudio/DelayProcessor.h ('k') | Source/modules/webaudio/DynamicsCompressorNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698