Chromium Code Reviews| 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..992b9d570b7149f39a0f7522632dd862acd10400 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); |
| + DCHECK(source); |
| ASSERT_UNUSED(framesToProcess, framesToProcess == source->length()); |
|
hongchan
2016/08/15 15:43:21
Same here.
|
| 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. |