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

Issue 456273002: MediaElementAudioSourceNode::dispose() should call HTMLMediaElement::setAudioSourceNode(0) in oilpa… (Closed)

Created:
6 years, 4 months ago by haraken
Modified:
6 years, 4 months ago
CC:
blink-reviews, blink-reviews-html_chromium.org, philipj_slow, gasubic, fs, eric.carlson_apple.com, Raymond Toy, feature-media-reviews_chromium.org, dglazkov+blink, nessy, vcarbune.chromium
Project:
blink
Visibility:
Public.

Description

MediaElementAudioSourceNode::dispose() should call HTMLMediaElement::setAudioSourceNode(0) in oilpan builds Currently HTMLMediaElement::setAudioSourceNode(0) is called only in non-oilpan builds. However, there is no reason why oilpan builds cannot call HTMLMediaElement::setAudioSourceNode(0). It's better to call it both in oilpan builds and non-oilpan builds and reduce #if branches. BUG=340522 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179939

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M Source/core/html/HTMLMediaElement.cpp View 1 2 1 chunk +5 lines, -3 lines 0 comments Download
M Source/modules/webaudio/MediaElementAudioSourceNode.cpp View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
haraken
PTAL
6 years, 4 months ago (2014-08-11 07:01:46 UTC) #1
haraken
6 years, 4 months ago (2014-08-11 07:02:36 UTC) #2
zerny-chromium
This change requires that it is guaranteed that MediaElementAudioSourceNode is always disposed prior to destruction ...
6 years, 4 months ago (2014-08-11 07:37:07 UTC) #3
haraken
On 2014/08/11 07:37:07, zerny-chromium wrote: > This change requires that it is guaranteed that MediaElementAudioSourceNode ...
6 years, 4 months ago (2014-08-11 07:48:25 UTC) #4
tkent
On 2014/08/11 07:48:25, haraken wrote: > On 2014/08/11 07:37:07, zerny-chromium wrote: > > This change ...
6 years, 4 months ago (2014-08-11 08:53:00 UTC) #5
tkent
On 2014/08/11 08:53:00, tkent wrote: > AudioNode::dispose() is always called. AudioContext::hasPendingActivity returns > true until ...
6 years, 4 months ago (2014-08-11 08:54:04 UTC) #6
haraken
On 2014/08/11 08:54:04, tkent wrote: > On 2014/08/11 08:53:00, tkent wrote: > > AudioNode::dispose() is ...
6 years, 4 months ago (2014-08-11 09:23:17 UTC) #7
tkent
lgtm
6 years, 4 months ago (2014-08-11 10:10:39 UTC) #8
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 4 months ago (2014-08-11 10:28:32 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/456273002/40001
6 years, 4 months ago (2014-08-11 10:29:17 UTC) #10
commit-bot: I haz the power
6 years, 4 months ago (2014-08-11 11:47:45 UTC) #11
Message was sent while issue was closed.
Change committed as 179939

Powered by Google App Engine
This is Rietveld 408576698