Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(404)

Issue 2805823003: Remove DCHECK_IS_ON() condition check around *.isGraphOwner() method (Closed)

Created:
3 years, 8 months ago by hongchan
Modified:
3 years, 8 months ago
Reviewers:
Raymond Toy
CC:
chromium-reviews, haraken, blink-reviews, Raymond Toy, hongchan
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -10 lines) Patch
M third_party/WebKit/Source/modules/webaudio/AnalyserNode.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/ConvolverNode.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.cpp View 1 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (5 generated)
hongchan
PTAL.
3 years, 8 months ago (2017-04-07 17:03:58 UTC) #2
Raymond Toy
lgtm with nit https://codereview.chromium.org/2805823003/diff/1/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.cpp File third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.cpp (right): https://codereview.chromium.org/2805823003/diff/1/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.cpp#newcode72 third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.cpp:72: return false; Add comment why false ...
3 years, 8 months ago (2017-04-07 17:11:01 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2805823003/20001
3 years, 8 months ago (2017-04-07 17:26:26 UTC) #6
commit-bot: I haz the power
3 years, 8 months ago (2017-04-07 18:47:58 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/5041c078af8f65707d859754396d...

Powered by Google App Engine
This is Rietveld 408576698