Index: Source/modules/webaudio/PannerNode.cpp |
diff --git a/Source/modules/webaudio/PannerNode.cpp b/Source/modules/webaudio/PannerNode.cpp |
index 147126b676dac9a2e04924b0f655dd9e90abf220..f14718b9b0528457d84ddac4286e2003b010fb3f 100644 |
--- a/Source/modules/webaudio/PannerNode.cpp |
+++ b/Source/modules/webaudio/PannerNode.cpp |
@@ -144,8 +144,8 @@ void PannerNode::initialize() |
{ |
if (isInitialized()) |
return; |
- |
- m_panner = Panner::create(m_panningModel, sampleRate()); |
+ |
+ m_panner = Panner::create(m_panningModel, sampleRate(), context()->hrtfDatabaseLoader()); |
AudioNode::initialize(); |
} |
@@ -199,8 +199,8 @@ bool PannerNode::setPanningModel(unsigned model) |
if (!m_panner.get() || model != m_panningModel) { |
// This synchronizes with process(). |
MutexLocker processLocker(m_pannerLock); |
- |
- OwnPtr<Panner> newPanner = Panner::create(model, sampleRate()); |
+ |
+ OwnPtr<Panner> newPanner = Panner::create(model, sampleRate(), context()->hrtfDatabaseLoader()); |
m_panner = newPanner.release(); |
m_panningModel = model; |
} |