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

Issue 172003002: Web Animations: Don't mark players as outdated upon currentTime access (Closed)

Created:
6 years, 10 months ago by Timothy Loh
Modified:
6 years, 9 months ago
CC:
blink-reviews, shans, rjwright, alancutter (OOO until 2018), Mike Lawther (Google), darktears, Steve Block, dino_apple.com, Eric Willigers
Base URL:
https://chromium.googlesource.com/chromium/blink.git@currentplayers
Visibility:
Public.

Description

Web Animations: Don't mark players as outdated upon currentTime access Accessing currentTime on a Player logically doesn't mark it as outdated, although currently it does as it updates time to match the timeline. Removing this behaviour makes some of the logic in serviceAnimations and Player::update slightly nicer. We also tweak the logic somewhat so as to remove a source of rounding errors in timing calculations. BUG=334926 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168628

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : add test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -14 lines) Patch
M Source/core/animation/DocumentTimeline.cpp View 1 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/animation/Player.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/animation/Player.cpp View 1 3 chunks +16 lines, -12 lines 0 comments Download
M Source/core/animation/PlayerTest.cpp View 1 2 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Timothy Loh
I think this depends on 171983002 and 168983009 landing first.
6 years, 10 months ago (2014-02-19 05:51:39 UTC) #1
Eric Willigers
lgtm
6 years, 10 months ago (2014-02-23 23:44:55 UTC) #2
dstockwell
https://codereview.chromium.org/172003002/diff/1/Source/core/animation/Player.cpp File Source/core/animation/Player.cpp (right): https://codereview.chromium.org/172003002/diff/1/Source/core/animation/Player.cpp#newcode106 Source/core/animation/Player.cpp:106: if (shouldSetOutdated) Shouldn't we be able to derive this ...
6 years, 10 months ago (2014-02-24 07:44:06 UTC) #3
dstockwell
On 2014/02/24 07:44:06, dstockwell wrote: > https://codereview.chromium.org/172003002/diff/1/Source/core/animation/Player.cpp > File Source/core/animation/Player.cpp (right): > > https://codereview.chromium.org/172003002/diff/1/Source/core/animation/Player.cpp#newcode106 > ...
6 years, 9 months ago (2014-02-27 09:14:50 UTC) #4
Timothy Loh
On 2014/02/27 09:14:50, dstockwell wrote: > On 2014/02/24 07:44:06, dstockwell wrote: > > > https://codereview.chromium.org/172003002/diff/1/Source/core/animation/Player.cpp ...
6 years, 9 months ago (2014-02-28 02:39:16 UTC) #5
Timothy Loh
https://codereview.chromium.org/172003002/diff/1/Source/core/animation/Player.cpp File Source/core/animation/Player.cpp (right): https://codereview.chromium.org/172003002/diff/1/Source/core/animation/Player.cpp#newcode106 Source/core/animation/Player.cpp:106: if (shouldSetOutdated) On 2014/02/24 07:44:07, dstockwell wrote: > Shouldn't ...
6 years, 9 months ago (2014-03-04 03:13:06 UTC) #6
dstockwell
lgtm, test?
6 years, 9 months ago (2014-03-06 02:15:29 UTC) #7
Timothy Loh
The CQ bit was checked by timloh@chromium.org
6 years, 9 months ago (2014-03-06 04:58:42 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/timloh@chromium.org/172003002/140001
6 years, 9 months ago (2014-03-06 04:58:49 UTC) #9
Timothy Loh
On 2014/03/06 02:15:29, dstockwell wrote: > lgtm, test? Added; also updated description.
6 years, 9 months ago (2014-03-06 04:58:55 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-06 07:26:08 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel
6 years, 9 months ago (2014-03-06 07:26:08 UTC) #12
Timothy Loh
The CQ bit was checked by timloh@chromium.org
6 years, 9 months ago (2014-03-06 11:18:46 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/timloh@chromium.org/172003002/140001
6 years, 9 months ago (2014-03-06 11:19:42 UTC) #14
commit-bot: I haz the power
6 years, 9 months ago (2014-03-06 11:57:35 UTC) #15
Message was sent while issue was closed.
Change committed as 168628

Powered by Google App Engine
This is Rietveld 408576698