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

Unified Diff: Source/modules/webaudio/GainNode.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/DynamicsCompressorNode.cpp ('k') | Source/modules/webaudio/GainNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/GainNode.h
diff --git a/Source/modules/webaudio/GainNode.h b/Source/modules/webaudio/GainNode.h
index e0ff4f3cf53e3c8c4fd179d017f4c003366fcad3..a0886b918e8162f7f2448a0beb40bb1318a42f0f 100644
--- a/Source/modules/webaudio/GainNode.h
+++ b/Source/modules/webaudio/GainNode.h
@@ -39,9 +39,9 @@ class AudioContext;
class GainNode FINAL : public AudioNode {
public:
- static PassRefPtr<GainNode> create(AudioContext* context, float sampleRate)
+ static PassRefPtrWillBeRawPtr<GainNode> create(AudioContext* context, float sampleRate)
{
- return adoptRef(new GainNode(context, sampleRate));
+ return adoptRefWillBeNoop(new GainNode(context, sampleRate));
}
// AudioNode
@@ -53,6 +53,8 @@ public:
// JavaScript interface
AudioParam* gain() { return m_gain.get(); }
+ virtual void trace(Visitor*) OVERRIDE;
+
private:
virtual double tailTime() const OVERRIDE { return 0; }
virtual double latencyTime() const OVERRIDE { return 0; }
@@ -60,7 +62,7 @@ private:
GainNode(AudioContext*, float sampleRate);
float m_lastGain; // for de-zippering
- RefPtr<AudioParam> m_gain;
+ RefPtrWillBeMember<AudioParam> m_gain;
AudioFloatArray m_sampleAccurateGainValues;
};
« no previous file with comments | « Source/modules/webaudio/DynamicsCompressorNode.cpp ('k') | Source/modules/webaudio/GainNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698