| Index: Source/modules/webaudio/AudioParam.h
|
| diff --git a/Source/modules/webaudio/AudioParam.h b/Source/modules/webaudio/AudioParam.h
|
| index 22a76d011f162255b4f89d9afc38a46d9f16f751..d278d57cde6853c9b44916a5fdb9f9d12f520c75 100644
|
| --- a/Source/modules/webaudio/AudioParam.h
|
| +++ b/Source/modules/webaudio/AudioParam.h
|
| @@ -42,15 +42,15 @@ namespace blink {
|
|
|
| class AudioNodeOutput;
|
|
|
| -class AudioParam final : public AudioSummingJunction, public ScriptWrappable {
|
| +class AudioParamHandler final : public AudioSummingJunction, public ScriptWrappable {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| static const double DefaultSmoothingConstant;
|
| static const double SnapThreshold;
|
|
|
| - static AudioParam* create(AudioContext* context, double defaultValue)
|
| + static AudioParamHandler* create(AudioContext* context, double defaultValue)
|
| {
|
| - return new AudioParam(context, defaultValue);
|
| + return new AudioParamHandler(context, defaultValue);
|
| }
|
|
|
| // AudioSummingJunction
|
| @@ -115,7 +115,7 @@ public:
|
| void disconnect(AudioNodeOutput&);
|
|
|
| private:
|
| - AudioParam(AudioContext* context, double defaultValue)
|
| + AudioParamHandler(AudioContext* context, double defaultValue)
|
| : AudioSummingJunction(context)
|
| , m_value(defaultValue)
|
| , m_defaultValue(defaultValue)
|
| @@ -134,6 +134,10 @@ private:
|
| AudioParamTimeline m_timeline;
|
| };
|
|
|
| +// TODO(tkent): remove the type alias, and introduce a real AudioParam class to
|
| +// wrap AudioParamHandler.
|
| +using AudioParam = AudioParamHandler;
|
| +
|
| } // namespace blink
|
|
|
| #endif // AudioParam_h
|
|
|