| Index: third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp b/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp
|
| index c06e0f313b3e05e5522b98f37e393674c471479c..c8bd6223a10f7b9541fa05f55267b279ab1392c3 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp
|
| +++ b/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp
|
| @@ -138,7 +138,7 @@ void AbstractAudioContext::initialize()
|
| return;
|
|
|
| FFTFrame::initialize();
|
| - m_listener = AudioListener::create();
|
| + m_listener = AudioListener::create(*this);
|
|
|
| if (m_destinationNode.get()) {
|
| m_destinationNode->handler().initialize();
|
| @@ -833,6 +833,9 @@ void AbstractAudioContext::handlePreRenderTasks()
|
| // Check to see if source nodes can be stopped because the end time has passed.
|
| handleStoppableSourceNodes();
|
|
|
| + // Update the dirty state of the listener.
|
| + listener()->updateState();
|
| +
|
| unlock();
|
| }
|
| }
|
|
|