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 382689b6714d6e1e99a1128ac255c74e15788235..4d15a2b3674afd0e28f9a4763fa9ed194fcb6ee3 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp |
+++ b/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp |
@@ -78,7 +78,7 @@ void StereoPannerHandler::initialize() { |
if (isInitialized()) |
return; |
- m_stereoPanner = StereoPanner::create(sampleRate()); |
+ m_stereoPanner = StereoPanner::create(context()->sampleRate()); |
AudioHandler::initialize(); |
} |