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 2 of N: Update a few more files and for the most obvious cases where we can remove the if/return. Bug: 957654 Change-Id: Ie5a30a67a58b88df9b5eb579d06894c710c9b1dd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1758593Reviewed-by:Hongchan Choi <hongchan@chromium.org> Commit-Queue: Raymond Toy <rtoy@chromium.org> Cr-Commit-Position: refs/heads/master@{#689158}
Showing
Please register or sign in to comment