Index: Source/modules/webaudio/OfflineAudioDestinationNode.cpp |
diff --git a/Source/modules/webaudio/OfflineAudioDestinationNode.cpp b/Source/modules/webaudio/OfflineAudioDestinationNode.cpp |
index bb86eac80cb5f2394872bbc068c2e79087104902..c4b511aa2fde4a9ff90ec6c70affcc8e1f9e7ebb 100644 |
--- a/Source/modules/webaudio/OfflineAudioDestinationNode.cpp |
+++ b/Source/modules/webaudio/OfflineAudioDestinationNode.cpp |
@@ -46,7 +46,7 @@ OfflineAudioDestinationNode::OfflineAudioDestinationNode(AudioContext* context, |
, m_renderThread(0) |
, m_startedRendering(false) |
{ |
- m_renderBus = adoptRef(new AudioBus(renderTarget->numberOfChannels(), renderQuantumSize)); |
+ m_renderBus = AudioBus::create(renderTarget->numberOfChannels(), renderQuantumSize); |
} |
OfflineAudioDestinationNode::~OfflineAudioDestinationNode() |