Chromium Code Reviews| Index: third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.h |
| diff --git a/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.h b/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.h |
| index 2ecd418b04ea060e2ad328b709e6d4522ded12b7..a2c419a469b5e4eb25eeb45044ca653c52585bbc 100644 |
| --- a/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.h |
| +++ b/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.h |
| @@ -76,7 +76,7 @@ protected: |
| void provideInput(AudioBus* destinationBus, size_t numberOfFrames) override |
| { |
| bool isGood = destinationBus && destinationBus->length() == numberOfFrames && m_sourceBus->length() == numberOfFrames; |
| - ASSERT(isGood); |
| + DCHECK(isGood); |
|
Raymond Toy
2016/07/25 16:56:52
Not for this CL, but I think it would be good if w
HyungwookLee
2016/07/26 00:42:40
That's good idea to make sure each part of isGood.
|
| if (isGood) |
| destinationBus->copyFrom(*m_sourceBus); |
| } |