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

Issue 1954663002: Initialize DeferredTaskHandler's audio thread ID once. (Closed)

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

Description

Initialize DeferredTaskHandler's audio thread ID once. Avoid repeatedly recording the audio thread's ID, along with assertedly verifying that this is done off the main thread. R= BUG=590108 Committed: https://crrev.com/cd465f7624dfd687c7506028a5c0553aa3e4cd1b Cr-Commit-Position: refs/heads/master@{#391848}

Patch Set 1 #

Total comments: 6

Patch Set 2 : rename method #

Total comments: 2

Patch Set 3 : out-of-line setter #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -3 lines) Patch
M third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.cpp View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (6 generated)
sof
please take a look. Maybe this is being too defensive, checking that the main thread ...
4 years, 7 months ago (2016-05-05 08:02:04 UTC) #3
haraken
LGTM
4 years, 7 months ago (2016-05-05 10:12:43 UTC) #4
sof
thanks, will let this wait overnight on webaudio owner feedback
4 years, 7 months ago (2016-05-05 14:58:35 UTC) #5
Raymond Toy
lgtm with a few nits https://codereview.chromium.org/1954663002/diff/1/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h File third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h (right): https://codereview.chromium.org/1954663002/diff/1/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h#newcode102 third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h:102: void setCurrentAsAudioThread() I have ...
4 years, 7 months ago (2016-05-05 15:58:49 UTC) #6
sof
https://codereview.chromium.org/1954663002/diff/1/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h File third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h (right): https://codereview.chromium.org/1954663002/diff/1/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h#newcode102 third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h:102: void setCurrentAsAudioThread() On 2016/05/05 15:58:49, Raymond Toy wrote: > ...
4 years, 7 months ago (2016-05-05 16:31:43 UTC) #7
hongchan
lgtm with one nit. https://codereview.chromium.org/1954663002/diff/20001/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h File third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h (right): https://codereview.chromium.org/1954663002/diff/20001/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h#newcode111 third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h:111: } NIT: I don't know ...
4 years, 7 months ago (2016-05-05 16:39:45 UTC) #8
sof
https://codereview.chromium.org/1954663002/diff/20001/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h File third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h (right): https://codereview.chromium.org/1954663002/diff/20001/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h#newcode111 third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h:111: } On 2016/05/05 16:39:45, hoch wrote: > NIT: I ...
4 years, 7 months ago (2016-05-05 16:46:31 UTC) #9
Raymond Toy
On 2016/05/05 16:31:43, sof wrote: > https://codereview.chromium.org/1954663002/diff/1/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h > File third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h (right): > > https://codereview.chromium.org/1954663002/diff/1/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h#newcode102 > ...
4 years, 7 months ago (2016-05-05 17:02:22 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954663002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954663002/40001
4 years, 7 months ago (2016-05-05 17:40:18 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-05 18:25:37 UTC) #15
commit-bot: I haz the power
4 years, 7 months ago (2016-05-05 18:26:56 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/cd465f7624dfd687c7506028a5c0553aa3e4cd1b
Cr-Commit-Position: refs/heads/master@{#391848}

Powered by Google App Engine
This is Rietveld 408576698