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

Issue 1037683002: Web Audio: Unapply Oilpan to AudioSummingJunction. (Closed)

Created:
5 years, 9 months ago by tkent
Modified:
5 years, 8 months ago
CC:
blink-reviews, Raymond Toy
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Web Audio: Drop Oilpan from AudioSummingJunction. Drop GarbageCollectedFinalized inheritance from AudioSummingJunction, and add GarbageCollectedFinalized to AudioNodeInput and AudioParamHandler, which are derived from AudioSummingJunction. - AudioSummingJunction doesn't have Member<AudioContext>, has RefPtr<DeferredTaskHandler> instead. - Code to trace m_renderingOutputs is moved to AudioNodeInput and AudioParamHandler. - AudioContext::m_liveAudioSummingJunctions is unnecessary because we can unregister AudioSummingJunction from DeferredTaskHandler in ~AudioSummingJunction(). BUG=464617 R=haraken@chromium.org, rtoy@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=192574

Patch Set 1 #

Total comments: 8

Patch Set 2 : Remove m_didCallDispose #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -86 lines) Patch
M Source/modules/webaudio/AudioContext.h View 2 chunks +0 lines, -15 lines 0 comments Download
M Source/modules/webaudio/AudioContext.cpp View 3 chunks +0 lines, -14 lines 0 comments Download
M Source/modules/webaudio/AudioNodeInput.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/webaudio/AudioNodeInput.cpp View 9 chunks +17 lines, -12 lines 0 comments Download
M Source/modules/webaudio/AudioParam.h View 4 chunks +7 lines, -3 lines 0 comments Download
M Source/modules/webaudio/AudioParam.cpp View 6 chunks +16 lines, -5 lines 0 comments Download
M Source/modules/webaudio/AudioSummingJunction.h View 1 3 chunks +5 lines, -9 lines 0 comments Download
M Source/modules/webaudio/AudioSummingJunction.cpp View 1 1 chunk +8 lines, -26 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
tkent
Please review this.
5 years, 9 months ago (2015-03-25 07:31:52 UTC) #2
haraken
https://codereview.chromium.org/1037683002/diff/1/Source/modules/webaudio/AudioNodeInput.cpp File Source/modules/webaudio/AudioNodeInput.cpp (right): https://codereview.chromium.org/1037683002/diff/1/Source/modules/webaudio/AudioNodeInput.cpp#newcode35 Source/modules/webaudio/AudioNodeInput.cpp:35: inline AudioNodeInput::AudioNodeInput(AudioNode& node) Help me understand: Why is it ...
5 years, 9 months ago (2015-03-25 12:34:48 UTC) #4
Raymond Toy
https://codereview.chromium.org/1037683002/diff/1/Source/modules/webaudio/AudioSummingJunction.h File Source/modules/webaudio/AudioSummingJunction.h (right): https://codereview.chromium.org/1037683002/diff/1/Source/modules/webaudio/AudioSummingJunction.h#newcode45 Source/modules/webaudio/AudioSummingJunction.h:45: DeferredTaskHandler& deferredTaskHandler() { return *m_deferredTaskHandler; } Is it possible ...
5 years, 9 months ago (2015-03-25 15:43:54 UTC) #5
tkent
https://codereview.chromium.org/1037683002/diff/1/Source/modules/webaudio/AudioNodeInput.cpp File Source/modules/webaudio/AudioNodeInput.cpp (right): https://codereview.chromium.org/1037683002/diff/1/Source/modules/webaudio/AudioNodeInput.cpp#newcode35 Source/modules/webaudio/AudioNodeInput.cpp:35: inline AudioNodeInput::AudioNodeInput(AudioNode& node) On 2015/03/25 12:34:48, haraken wrote: > ...
5 years, 9 months ago (2015-03-25 22:28:08 UTC) #6
Raymond Toy
lgtm
5 years, 9 months ago (2015-03-25 23:08:17 UTC) #7
haraken
LGTM
5 years, 9 months ago (2015-03-26 01:16:16 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1037683002/20001
5 years, 9 months ago (2015-03-26 02:34:56 UTC) #11
tkent
Committed patchset #2 (id:20001) manually as 192574 (presubmit successful).
5 years, 9 months ago (2015-03-26 03:51:40 UTC) #12
tkent
It seems this change made audionode-disconnect-audioparam.html flaky. Investigating. http://test-results.appspot.com/dashboards/flakiness_dashboard.html#showExpectations=true&tests=webaudio%2Faudionode-disconnect-audioparam.html
5 years, 8 months ago (2015-03-30 08:31:57 UTC) #13
tkent
5 years, 8 months ago (2015-04-01 06:23:34 UTC) #14
Message was sent while issue was closed.
On 2015/03/30 08:31:57, tkent wrote:
> It seems this change made audionode-disconnect-audioparam.html flaky. 
> Investigating.
> 
>
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#showExpec...

I confirmed this was not caused by my changes, and this flakiness was an test
issue and not a bug of Web Audio code.

Powered by Google App Engine
This is Rietveld 408576698