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

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

Issue 270103005: Tried to move AudioSummingJuction to oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/OfflineAudioDestinationNode.cpp ('k') | Source/modules/webaudio/OscillatorNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/OscillatorNode.h
diff --git a/Source/modules/webaudio/OscillatorNode.h b/Source/modules/webaudio/OscillatorNode.h
index 7e23c99ab05b9bf847e5f6f190fb55ac77b166d4..be18d7d94ff3a9bdb66b19664f116d06177c5117 100644
--- a/Source/modules/webaudio/OscillatorNode.h
+++ b/Source/modules/webaudio/OscillatorNode.h
@@ -52,7 +52,7 @@ public:
CUSTOM = 4
};
- static PassRefPtr<OscillatorNode> create(AudioContext*, float sampleRate);
+ static PassRefPtrWillBeRawPtr<OscillatorNode> create(AudioContext*, float sampleRate);
virtual ~OscillatorNode();
@@ -68,6 +68,8 @@ public:
void setPeriodicWave(PeriodicWave*);
+ virtual void trace(Visitor*) OVERRIDE;
+
private:
OscillatorNode(AudioContext*, float sampleRate);
@@ -82,10 +84,10 @@ private:
unsigned short m_type;
// Frequency value in Hertz.
- RefPtr<AudioParam> m_frequency;
+ RefPtrWillBeMember<AudioParam> m_frequency;
// Detune value (deviating from the frequency) in Cents.
- RefPtr<AudioParam> m_detune;
+ RefPtrWillBeMember<AudioParam> m_detune;
bool m_firstRender;
@@ -100,7 +102,7 @@ private:
AudioFloatArray m_phaseIncrements;
AudioFloatArray m_detuneValues;
- RefPtr<PeriodicWave> m_periodicWave;
+ RefPtrWillBeMember<PeriodicWave> m_periodicWave;
};
} // namespace WebCore
« no previous file with comments | « Source/modules/webaudio/OfflineAudioDestinationNode.cpp ('k') | Source/modules/webaudio/OscillatorNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698