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

Issue 782603004: Web Audio: Oilpan: Trace AudioSummingJunction::m_renderingOutputs (Closed)

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

Description

Web Audio: Oilpan: Trace AudioSummingJunction::m_renderingOutputs m_renderingOutpus is a vector of AudioNodeOutput raw pointers. They are raw pointers because the vector is allocated in the audio rendering thread, which has no Oilpan support. However, They can be last references to the AudioNodeOutput objects, and Oilpan GC during audio rendering could collect the objects. We need to trace the contents of m_renderingOutputs. This CL fixes crashes. But unused AudioNodes in the graph are not destructed automatically unless JavaScript code explicitly disconnect them from the graph. BUG=434136 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186914

Patch Set 1 #

Patch Set 2 : Add a FIXME #

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

Messages

Total messages: 9 (2 generated)
tkent
Please review this. Unfortunately the reproduction in the bug didn't crash with content_shell.
6 years ago (2014-12-10 06:36:43 UTC) #2
haraken
Add a FIXME as a comment. LGTM.
6 years ago (2014-12-10 07:08:19 UTC) #3
Raymond Toy
lgtm. I don't believe content_shell has any support for a real audiocontext. You can create ...
6 years ago (2014-12-10 18:00:31 UTC) #4
tkent
On 2014/12/10 18:00:31, Raymond Toy wrote: > lgtm. > > I don't believe content_shell has ...
6 years ago (2014-12-11 02:34:02 UTC) #5
tkent
On 2014/12/10 07:08:19, haraken wrote: > Add a FIXME as a comment. LGTM. Done.
6 years ago (2014-12-11 02:34:12 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/782603004/20001
6 years ago (2014-12-11 02:34:40 UTC) #8
commit-bot: I haz the power
6 years ago (2014-12-11 05:10:52 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=186914

Powered by Google App Engine
This is Rietveld 408576698