Index: Source/modules/webaudio/AudioContext.cpp |
diff --git a/Source/modules/webaudio/AudioContext.cpp b/Source/modules/webaudio/AudioContext.cpp |
index fb7d57ef55602524189f2cbec2740afddcc99c6b..18f3df70c123b647cef8ebce9c03949c378cb840 100644 |
--- a/Source/modules/webaudio/AudioContext.cpp |
+++ b/Source/modules/webaudio/AudioContext.cpp |
@@ -154,7 +154,9 @@ AudioContext::AudioContext(Document* document, unsigned numberOfChannels, size_t |
// Create a new destination for offline rendering. |
m_renderTarget = AudioBuffer::create(numberOfChannels, numberOfFrames, sampleRate); |
+ ASSERT(m_renderTarget); |
m_destinationNode = OfflineAudioDestinationNode::create(this, m_renderTarget.get()); |
+ ASSERT(m_destinationNode); |
} |
void AudioContext::constructCommon() |