Index: third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp |
diff --git a/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp b/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp |
index c70238a958a76ff6aee0dac11bfe963062039a36..bd4de954ecfd25399be905ead778044063e4dc39 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp |
+++ b/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp |
@@ -85,7 +85,7 @@ void StereoPannerHandler::initialize() { |
if (isInitialized()) |
return; |
- m_stereoPanner = StereoPanner::create(sampleRate()); |
+ m_stereoPanner = StereoPanner::create(context()->sampleRate()); |
AudioHandler::initialize(); |
} |