Follow style guide on use of DCHECK
WebAudio legacy code often does something like: DCHECK(foo); if (!foo) return; The style guide says the if/return should be removed; DCHECK failures should not be handled. Part 4 of N: Update a few more files and for the most obvious cases where we can remove the if/return. Bug: 957654 Change-Id: I85c8c87e02b319ea1fa95768b7297500d36a0d6e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1762763 Commit-Queue: Raymond Toy <rtoy@chromium.org> Reviewed-by:Hongchan Choi <hongchan@chromium.org> Cr-Commit-Position: refs/heads/master@{#689982}
Showing
Please register or sign in to comment