Index: third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNode.cpp |
diff --git a/third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNode.cpp b/third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNode.cpp |
index ea02e24db2aae510f18558fa6751c89e21d72969..c945d0026a979aa3545fe6e96e2b2f6d4499aa67 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNode.cpp |
+++ b/third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNode.cpp |
@@ -116,8 +116,8 @@ void DynamicsCompressorHandler::initialize() { |
return; |
AudioHandler::initialize(); |
- m_dynamicsCompressor = WTF::wrapUnique( |
- new DynamicsCompressor(sampleRate(), defaultNumberOfOutputChannels)); |
+ m_dynamicsCompressor = WTF::wrapUnique(new DynamicsCompressor( |
+ context()->sampleRate(), defaultNumberOfOutputChannels)); |
} |
void DynamicsCompressorHandler::clearInternalStateWhenDisabled() { |