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

Issue 2006883002: Gracefully handle dirtying of audio nodes while processing current set. (Closed)

Created:
4 years, 7 months ago by sof
Modified:
4 years, 7 months ago
Reviewers:
Raymond Toy, hongchan
CC:
chromium-reviews, blink-reviews, Raymond Toy, haraken
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Gracefully handle dirtying of audio nodes while processing current set. When processing the set of dirty output nodes, nodes further down the chain may be marked as dirty as a result. Take that into account when iterating over the current set. R=hoch BUG=610643, 613902 Committed: https://crrev.com/7b953ca0869bb4f2910b0f834b0ce7ad89166445 Cr-Commit-Position: refs/heads/master@{#395643}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.cpp View 1 chunk +7 lines, -2 lines 2 comments Download

Messages

Total messages: 19 (5 generated)
sof
please take a look. I'm not sure what's preferable here: have the loop be shallow ...
4 years, 7 months ago (2016-05-23 20:32:00 UTC) #2
hongchan
Quite clever! If this pattern is robust/optimum for this type of operation, we might want ...
4 years, 7 months ago (2016-05-23 20:43:35 UTC) #3
sof
https://codereview.chromium.org/2006883002/diff/1/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.cpp File third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.cpp (right): https://codereview.chromium.org/2006883002/diff/1/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.cpp#newcode135 third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.cpp:135: m_dirtyAudioNodeOutputs.swap(dirtyOutputs); On 2016/05/23 20:43:34, hoch wrote: > What if ...
4 years, 7 months ago (2016-05-23 21:06:30 UTC) #4
hongchan
On 2016/05/23 21:06:30, sof wrote: > https://codereview.chromium.org/2006883002/diff/1/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.cpp > File third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.cpp (right): > > https://codereview.chromium.org/2006883002/diff/1/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.cpp#newcode135 > ...
4 years, 7 months ago (2016-05-23 21:23:08 UTC) #5
sof
On 2016/05/23 21:23:08, hoch wrote: > On 2016/05/23 21:06:30, sof wrote: > > > https://codereview.chromium.org/2006883002/diff/1/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.cpp ...
4 years, 7 months ago (2016-05-23 21:29:27 UTC) #6
haraken
On 2016/05/23 21:29:27, sof wrote: > On 2016/05/23 21:23:08, hoch wrote: > > On 2016/05/23 ...
4 years, 7 months ago (2016-05-23 21:59:37 UTC) #7
sof
On 2016/05/23 21:59:37, haraken wrote: > On 2016/05/23 21:29:27, sof wrote: > > On 2016/05/23 ...
4 years, 7 months ago (2016-05-24 05:09:26 UTC) #8
sof
+cc: haraken
4 years, 7 months ago (2016-05-24 05:15:21 UTC) #9
sof
On 2016/05/23 21:23:08, hoch wrote: > On 2016/05/23 21:06:30, sof wrote: > > > https://codereview.chromium.org/2006883002/diff/1/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.cpp ...
4 years, 7 months ago (2016-05-24 05:39:38 UTC) #10
hongchan
lgtm. Do you think this pattern is safe for other storage members in DeferredTaskHandler?
4 years, 7 months ago (2016-05-24 17:08:58 UTC) #11
sof
On 2016/05/24 17:08:58, hoch wrote: > lgtm. > > Do you think this pattern is ...
4 years, 7 months ago (2016-05-24 18:07:23 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2006883002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2006883002/1
4 years, 7 months ago (2016-05-24 18:23:01 UTC) #15
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-05-24 18:27:35 UTC) #17
commit-bot: I haz the power
4 years, 7 months ago (2016-05-24 18:30:34 UTC) #19
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/7b953ca0869bb4f2910b0f834b0ce7ad89166445
Cr-Commit-Position: refs/heads/master@{#395643}

Powered by Google App Engine
This is Rietveld 408576698