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

Issue 2623563002: Sort event list if any event time was clamped (Closed)

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

Description

Sort event list if any event time was clamped Per spec, if an AudioParam event is scheduled in the past, the event time is clamped to the current time. However, this clamping can change to time order of the event list so that it is no longer in sorted order. Thus, if any event has it's time clamped, the event list needs to be sorted in time order again. The sort must be stable to preserve the behavior of events that were scheduled at the same time. Some additional DCHECKs added to verify sorted order. Unable to come up with a test for this using an offline context. BUG=678802 TEST=Run test from bug report. Review-Url: https://codereview.chromium.org/2623563002 Cr-Commit-Position: refs/heads/master@{#442382} Committed: https://chromium.googlesource.com/chromium/src/+/2d2dfb10fa78a88b6ac615b8041948b13df181bb

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -1 line) Patch
M third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp View 4 chunks +13 lines, -1 line 0 comments Download

Messages

Total messages: 14 (9 generated)
Raymond Toy
PTAL
3 years, 11 months ago (2017-01-09 18:39:39 UTC) #3
hongchan
lgtm, but would it be necessary to monitor the regression in case of an extreme ...
3 years, 11 months ago (2017-01-09 21:56:14 UTC) #8
Raymond Toy
On 2017/01/09 21:56:14, hongchan wrote: > lgtm, but would it be necessary to monitor the ...
3 years, 11 months ago (2017-01-09 22:21:10 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/2623563002/1
3 years, 11 months ago (2017-01-09 22:22:21 UTC) #11
commit-bot: I haz the power
3 years, 11 months ago (2017-01-09 22:45:10 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/2d2dfb10fa78a88b6ac615b80419...

Powered by Google App Engine
This is Rietveld 408576698