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

Issue 455353002: Add an ASSERT to verify that AudioNode::dispose() is always called (Closed)

Created:
6 years, 4 months ago by haraken
Modified:
6 years, 4 months ago
Reviewers:
oilpan-reviews, tkent
CC:
blink-reviews, Raymond Toy
Project:
blink
Visibility:
Public.

Description

Add an ASSERT to verify that AudioNode::dispose() is always called AudioNode::dispose() must be called before the AudioNode is destructed. This is currently guaranteed in both oilpan builds and non-oilpan builds. However the logic is not trivial, so this CL adds the ASSERT about it. BUG=340522 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179941

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M Source/modules/webaudio/AudioNode.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M Source/modules/webaudio/AudioNode.cpp View 1 2 3 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
haraken
PTAL
6 years, 4 months ago (2014-08-11 09:17:37 UTC) #1
tkent
https://codereview.chromium.org/455353002/diff/20001/Source/modules/webaudio/AudioNode.cpp File Source/modules/webaudio/AudioNode.cpp (right): https://codereview.chromium.org/455353002/diff/20001/Source/modules/webaudio/AudioNode.cpp#newcode61 Source/modules/webaudio/AudioNode.cpp:61: #ifndef NDEBUG #if ENABLE(ASSERT) https://codereview.chromium.org/455353002/diff/20001/Source/modules/webaudio/AudioNode.cpp#newcode116 Source/modules/webaudio/AudioNode.cpp:116: #ifndef NDEBUG Ditto. ...
6 years, 4 months ago (2014-08-11 10:13:06 UTC) #2
haraken
https://codereview.chromium.org/455353002/diff/20001/Source/modules/webaudio/AudioNode.cpp File Source/modules/webaudio/AudioNode.cpp (right): https://codereview.chromium.org/455353002/diff/20001/Source/modules/webaudio/AudioNode.cpp#newcode61 Source/modules/webaudio/AudioNode.cpp:61: #ifndef NDEBUG On 2014/08/11 10:13:06, tkent wrote: > #if ...
6 years, 4 months ago (2014-08-11 10:33:00 UTC) #3
tkent
lgtm
6 years, 4 months ago (2014-08-11 10:52:07 UTC) #4
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 4 months ago (2014-08-11 11:01:04 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/455353002/40001
6 years, 4 months ago (2014-08-11 11:02:12 UTC) #6
commit-bot: I haz the power
6 years, 4 months ago (2014-08-11 11:50:46 UTC) #7
Message was sent while issue was closed.
Change committed as 179941

Powered by Google App Engine
This is Rietveld 408576698