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

Unified Diff: Source/modules/webaudio/DynamicsCompressorNode.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
« no previous file with comments | « Source/modules/webaudio/DelayProcessor.h ('k') | Source/modules/webaudio/GainNode.h » ('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 713c575aa2bf1d607faa7423db73eb95d5b77e04..419c5ed377e0c29e0104392fe908d47025b366fc 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 PassRefPtrWillBeRawPtr<DynamicsCompressorNode> create(AudioContext* context, float sampleRate)
+ static DynamicsCompressorNode* create(AudioContext* context, float sampleRate)
{
- return adoptRefWillBeNoop(new DynamicsCompressorNode(context, sampleRate));
+ return adoptRefCountedGarbageCollectedWillBeNoop(new DynamicsCompressorNode(context, sampleRate));
}
virtual ~DynamicsCompressorNode();
@@ -67,12 +67,12 @@ private:
DynamicsCompressorNode(AudioContext*, float sampleRate);
OwnPtr<DynamicsCompressor> m_dynamicsCompressor;
- RefPtrWillBeMember<AudioParam> m_threshold;
- RefPtrWillBeMember<AudioParam> m_knee;
- RefPtrWillBeMember<AudioParam> m_ratio;
- RefPtrWillBeMember<AudioParam> m_reduction;
- RefPtrWillBeMember<AudioParam> m_attack;
- RefPtrWillBeMember<AudioParam> m_release;
+ Member<AudioParam> m_threshold;
+ Member<AudioParam> m_knee;
+ Member<AudioParam> m_ratio;
+ Member<AudioParam> m_reduction;
+ Member<AudioParam> m_attack;
+ Member<AudioParam> m_release;
};
} // namespace blink
« no previous file with comments | « Source/modules/webaudio/DelayProcessor.h ('k') | Source/modules/webaudio/GainNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698