DescriptionRemove DCHECK_IS_ON() condition check around *.isGraphOwner() method
As a first step of ASSERT removal from modules/webaudio, this CL
removes all DCHECK_IS_ON() condition check from isGraphOwner() and put
the check inside of the method.
The method is only used inside of DCHECK() so it must be no-op in the
release build. That is why it returns false, so we can catch the
anomaly when it happens.
BUG=707643
Review-Url: https://codereview.chromium.org/2805823003
Cr-Commit-Position: refs/heads/master@{#462940}
Committed: https://chromium.googlesource.com/chromium/src/+/5041c078af8f65707d859754396d887d780a7e04
Patch Set 1 #
Total comments: 1
Patch Set 2 : Added comment #
Messages
Total messages: 9 (5 generated)
|