Index: Source/core/platform/audio/MultiChannelResampler.cpp |
diff --git a/Source/core/platform/audio/MultiChannelResampler.cpp b/Source/core/platform/audio/MultiChannelResampler.cpp |
index 806a9e09c153a08d8b05c8e5887377b0496b3f94..4bd742fde1ea6b0e437c8aaef9051088be51f1b7 100644 |
--- a/Source/core/platform/audio/MultiChannelResampler.cpp |
+++ b/Source/core/platform/audio/MultiChannelResampler.cpp |
@@ -64,7 +64,7 @@ public: |
// For subsequent channels, we can just dish out the channel data from that (stored in m_multiChannelBus). |
if (!m_currentChannel) { |
m_framesToProcess = framesToProcess; |
- m_multiChannelBus = adoptRef(new AudioBus(m_numberOfChannels, framesToProcess)); |
+ m_multiChannelBus = AudioBus::create(m_numberOfChannels, framesToProcess); |
m_multiChannelProvider->provideInput(m_multiChannelBus.get(), framesToProcess); |
} |