| Index: third_party/WebKit/Source/modules/webaudio/AudioParam.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/AudioParam.cpp b/third_party/WebKit/Source/modules/webaudio/AudioParam.cpp
|
| index 9e494295098ff1dd98dd3165cfd0f13f8a219003..c474744e9102ac5de5f0c395a064f54068bee852 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/AudioParam.cpp
|
| +++ b/third_party/WebKit/Source/modules/webaudio/AudioParam.cpp
|
| @@ -35,12 +35,9 @@ namespace blink {
|
| const double AudioParamHandler::DefaultSmoothingConstant = 0.05;
|
| const double AudioParamHandler::SnapThreshold = 0.001;
|
|
|
| -AbstractAudioContext* AudioParamHandler::context() const
|
| +AudioDestinationHandler* AudioParamHandler::context() const
|
| {
|
| - // TODO(tkent): We can remove this dangerous function by removing
|
| - // AbstractAudioContext dependency from AudioParamTimeline.
|
| - ASSERT_WITH_SECURITY_IMPLICATION(deferredTaskHandler().isAudioThread());
|
| - return m_context;
|
| + return &m_destination;
|
| }
|
|
|
| float AudioParamHandler::value()
|
|
|