Index: third_party/WebKit/Source/modules/webaudio/ChannelSplitterNode.cpp |
diff --git a/third_party/WebKit/Source/modules/webaudio/ChannelSplitterNode.cpp b/third_party/WebKit/Source/modules/webaudio/ChannelSplitterNode.cpp |
index b4c87c43dd3c08d99f1d648d2642ff63162dda0f..35aafaca1cb9b43f460e4f7036ff48352cbd7df6 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/ChannelSplitterNode.cpp |
+++ b/third_party/WebKit/Source/modules/webaudio/ChannelSplitterNode.cpp |
@@ -52,14 +52,14 @@ PassRefPtr<ChannelSplitterHandler> ChannelSplitterHandler::create(AudioNode& nod |
void ChannelSplitterHandler::process(size_t framesToProcess) |
{ |
AudioBus* source = input(0).bus(); |
- ASSERT(source); |
- ASSERT_UNUSED(framesToProcess, framesToProcess == source->length()); |
+ DCHECK(source); |
+ DCHECK_EQ(framesToProcess, source->length()); |
unsigned numberOfSourceChannels = source->numberOfChannels(); |
for (unsigned i = 0; i < numberOfOutputs(); ++i) { |
AudioBus* destination = output(i).bus(); |
- ASSERT(destination); |
+ DCHECK(destination); |
if (i < numberOfSourceChannels) { |
// Split the channel out if it exists in the source. |