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

Issue 2717613007: Set "Running" state only when actually running (Closed)

Created:
3 years, 10 months ago by Raymond Toy
Modified:
3 years, 9 months ago
Reviewers:
hongchan
CC:
chromium-reviews, haraken, blink-reviews, hongchan
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Set "Running" state only when actually running When resuming an AudioContext, the state should be set to "running" when the context has actually started running again. Previously, this was set when resume() was called. Depending on the device, it make take a while before the device actually starts running, so we were prematurely setting the state to "running". This can't be tested in a layout test with offline context. BUG=693978 TEST=none Review-Url: https://codereview.chromium.org/2717613007 Cr-Commit-Position: refs/heads/master@{#455867} Committed: https://chromium.googlesource.com/chromium/src/+/dc4cda062ada67cd3c845149d58a4dc7545a00c1

Patch Set 1 #

Patch Set 2 : Add some comments #

Patch Set 3 : State must be set AFTER startRendering(). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -5 lines) Patch
M third_party/WebKit/Source/modules/webaudio/AudioContext.cpp View 1 2 2 chunks +7 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp View 1 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 27 (15 generated)
Raymond Toy
PTAL
3 years, 9 months ago (2017-02-27 17:13:19 UTC) #4
hongchan
The change looks good. Does this really fix the issue?
3 years, 9 months ago (2017-02-28 17:49:25 UTC) #7
Raymond Toy
On 2017/02/28 at 17:49:25, hongchan wrote: > The change looks good. Does this really fix ...
3 years, 9 months ago (2017-02-28 19:30:07 UTC) #8
hongchan
lgtm
3 years, 9 months ago (2017-03-03 16:02:11 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2717613007/20001
3 years, 9 months ago (2017-03-08 16:07:01 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/324869)
3 years, 9 months ago (2017-03-08 17:08:19 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2717613007/20001
3 years, 9 months ago (2017-03-08 23:05:05 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/403244) win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, ...
3 years, 9 months ago (2017-03-09 00:03:46 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2717613007/20001
3 years, 9 months ago (2017-03-09 16:31:30 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/403791) win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, ...
3 years, 9 months ago (2017-03-09 17:24:50 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2717613007/40001
3 years, 9 months ago (2017-03-09 19:55:45 UTC) #24
commit-bot: I haz the power
3 years, 9 months ago (2017-03-09 21:24:36 UTC) #27
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/dc4cda062ada67cd3c845149d58a...

Powered by Google App Engine
This is Rietveld 408576698