Chromium Code Reviews| Index: Source/modules/webaudio/AudioParam.h |
| diff --git a/Source/modules/webaudio/AudioParam.h b/Source/modules/webaudio/AudioParam.h |
| index ba0276950abcc79ee412dfeea48991a927769c5e..ed25afabf79a89474311b8b59b50916893de2f99 100644 |
| --- a/Source/modules/webaudio/AudioParam.h |
| +++ b/Source/modules/webaudio/AudioParam.h |
| @@ -43,14 +43,14 @@ namespace WebCore { |
| class AudioNodeOutput; |
| -class AudioParam FINAL : public RefCounted<AudioParam>, public ScriptWrappable, public AudioSummingJunction { |
| +class AudioParam FINAL : public RefCountedWillBeGarbageCollectedFinalized<AudioParam>, public ScriptWrappable, public AudioSummingJunction { |
|
haraken
2014/04/08 06:02:08
You might want to move AudioSummingJunction to the
keishi
2014/04/21 17:10:11
I just tried to move AudioSummingJunction to the h
haraken
2014/04/22 05:37:19
hmm, this is weird.
I think that in the end we wa
|
| public: |
| static const double DefaultSmoothingConstant; |
| static const double SnapThreshold; |
| - static PassRefPtr<AudioParam> create(AudioContext* context, const String& name, double defaultValue, double minValue, double maxValue, unsigned units = 0) |
| + static PassRefPtrWillBeRawPtr<AudioParam> create(AudioContext* context, const String& name, double defaultValue, double minValue, double maxValue, unsigned units = 0) |
| { |
| - return adoptRef(new AudioParam(context, name, defaultValue, minValue, maxValue, units)); |
| + return adoptRefWillBeNoop(new AudioParam(context, name, defaultValue, minValue, maxValue, units)); |
| } |
| // AudioSummingJunction |
| @@ -102,6 +102,8 @@ public: |
| void connect(AudioNodeOutput*); |
| void disconnect(AudioNodeOutput*); |
| + void trace(Visitor*) { } |
| + |
| protected: |
| AudioParam(AudioContext* context, const String& name, double defaultValue, double minValue, double maxValue, unsigned units = 0) |
| : AudioSummingJunction(context) |