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

Issue 2555923003: Make InvalidatableInterpolation's InterpolationTypes decided at effect application time (Closed)

Created:
4 years ago by alancutter (OOO until 2018)
Modified:
4 years ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-css, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, krit, Eric Willigers, f(malita), fs, gyuyoung2, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, rjwright, rwlbuis, Stephen Chennney, shans
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make InvalidatableInterpolation's InterpolationTypes decided at effect application time This patch replaces PropertyInterpolationTypesMapping with CSS and SVG InterpolationTypesMap classes that are provided to InvalidatableInterpolation objects via the InterpolationEnvironment. InvalidatableInterpolations are no longer provided with the list of InterpolationTypes at construction, now they retrieve the list at effect application time during applyStack(). This is in preparation for supporting smooth animation of registered custom properties. BUG=671904 Committed: https://crrev.com/3ac8b90fcbda4c6e3ef484140751cd0341b31c48 Committed: https://crrev.com/dbf9ff76db17cc97436ee43a53ff269af3a45231 Committed: https://crrev.com/87ec6842397ca213e3216de27dd2a156ea01a342 Cr-Original-Original-Commit-Position: refs/heads/master@{#437381} Cr-Original-Commit-Position: refs/heads/master@{#437474} Cr-Commit-Position: refs/heads/master@{#437504}

Patch Set 1 #

Patch Set 2 : lint #

Total comments: 2

Patch Set 3 : Rebased #

Patch Set 4 : Rebase #

Patch Set 5 : Extended InterpolationTypesMap lifetime scope to fix release crash #

Unified diffs Side-by-side diffs Delta from patch set Stats (+585 lines, -484 lines) Patch
M third_party/WebKit/Source/core/animation/BUILD.gn View 4 chunks +5 lines, -2 lines 0 comments Download
A third_party/WebKit/Source/core/animation/CSSInterpolationTypesMap.h View 1 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/animation/CSSInterpolationTypesMap.cpp View 1 2 3 1 chunk +300 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/InterpolationEnvironment.h View 3 chunks +16 lines, -4 lines 0 comments Download
A + third_party/WebKit/Source/core/animation/InterpolationTypesMap.h View 2 chunks +8 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/animation/InvalidatableInterpolation.h View 1 5 chunks +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/animation/InvalidatableInterpolation.cpp View 1 2 3 7 chunks +24 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/animation/Keyframe.cpp View 2 chunks +1 line, -3 lines 0 comments Download
D third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.h View 1 chunk +0 lines, -25 lines 0 comments Download
D third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp View 1 2 3 1 chunk +0 lines, -432 lines 0 comments Download
A third_party/WebKit/Source/core/animation/SVGInterpolationTypesMap.h View 1 chunk +21 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/animation/SVGInterpolationTypesMap.cpp View 1 2 3 1 chunk +166 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/PropertyRegistry.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGElement.cpp View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 54 (25 generated)
alancutter (OOO until 2018)
4 years ago (2016-12-07 06:26:21 UTC) #2
Eric Willigers
lgtm https://codereview.chromium.org/2555923003/diff/20001/third_party/WebKit/Source/core/animation/InterpolationEnvironment.h File third_party/WebKit/Source/core/animation/InterpolationEnvironment.h (right): https://codereview.chromium.org/2555923003/diff/20001/third_party/WebKit/Source/core/animation/InterpolationEnvironment.h#newcode18 third_party/WebKit/Source/core/animation/InterpolationEnvironment.h:18: class InterpolationEnvironment { Can we disallow copying?
4 years ago (2016-12-07 22:49:49 UTC) #3
alancutter (OOO until 2018)
https://codereview.chromium.org/2555923003/diff/20001/third_party/WebKit/Source/core/animation/InterpolationEnvironment.h File third_party/WebKit/Source/core/animation/InterpolationEnvironment.h (right): https://codereview.chromium.org/2555923003/diff/20001/third_party/WebKit/Source/core/animation/InterpolationEnvironment.h#newcode18 third_party/WebKit/Source/core/animation/InterpolationEnvironment.h:18: class InterpolationEnvironment { On 2016/12/07 at 22:49:49, Eric Willigers ...
4 years ago (2016-12-07 23:15:53 UTC) #4
commit-bot: I haz the power
This CL has an open dependency (Issue 2555103002 Patch 20001). Please resolve the dependency and ...
4 years ago (2016-12-07 23:16:48 UTC) #7
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/2555923003/20001
4 years ago (2016-12-08 01:48:17 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/321132)
4 years ago (2016-12-08 01:59:13 UTC) #11
alancutter (OOO until 2018)
+timloh for PropertyRegistry.h and core/.
4 years ago (2016-12-08 02:12:11 UTC) #13
Timothy Loh
On 2016/12/08 02:12:11, alancutter wrote: > +timloh for PropertyRegistry.h and core/. lgtm
4 years ago (2016-12-08 03:37:18 UTC) #16
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/2555923003/40001
4 years ago (2016-12-08 03:45:49 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/81933)
4 years ago (2016-12-08 04:56:12 UTC) #22
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/2555923003/40001
4 years ago (2016-12-08 05:22:12 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/82025)
4 years ago (2016-12-08 06:46:10 UTC) #26
alancutter (OOO until 2018)
On 2016/12/08 at 06:46:10, commit-bot wrote: > Try jobs failed on following builders: > android_n5x_swarming_rel ...
4 years ago (2016-12-08 22:25:50 UTC) #27
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/2555923003/40001
4 years ago (2016-12-08 22:26:44 UTC) #29
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-08 22:51:35 UTC) #31
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/3ac8b90fcbda4c6e3ef484140751cd0341b31c48 Cr-Commit-Position: refs/heads/master@{#437381}
4 years ago (2016-12-08 22:55:19 UTC) #33
alancutter (OOO until 2018)
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2567453002/ by alancutter@chromium.org. ...
4 years ago (2016-12-08 23:13:21 UTC) #34
findit-for-me
FYI: Findit identified this CL at revision 437381 as the culprit for failures in the ...
4 years ago (2016-12-08 23:15:31 UTC) #35
alancutter (OOO until 2018)
On 2016/12/08 at 23:13:21, alancutter wrote: > A revert of this CL (patchset #3 id:40001) ...
4 years ago (2016-12-08 23:23:36 UTC) #36
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/2555923003/60001
4 years ago (2016-12-09 03:39:00 UTC) #39
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-09 05:16:51 UTC) #41
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/dbf9ff76db17cc97436ee43a53ff269af3a45231 Cr-Commit-Position: refs/heads/master@{#437474}
4 years ago (2016-12-09 05:20:23 UTC) #43
yhirano
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2562933002/ by yhirano@chromium.org. ...
4 years ago (2016-12-09 06:20:21 UTC) #44
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/2555923003/80001
4 years ago (2016-12-09 07:52:34 UTC) #47
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-09 09:42:58 UTC) #49
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/87ec6842397ca213e3216de27dd2a156ea01a342 Cr-Commit-Position: refs/heads/master@{#437504}
4 years ago (2016-12-09 09:45:42 UTC) #51
martiniss
On 2016/12/08 at 23:23:36, alancutter wrote: > On 2016/12/08 at 23:13:21, alancutter wrote: > > ...
4 years ago (2016-12-09 14:59:15 UTC) #52
agrieve
On 2016/12/09 14:59:15, martiniss wrote: > On 2016/12/08 at 23:23:36, alancutter wrote: > > On ...
4 years ago (2016-12-13 15:39:00 UTC) #53
alancutter (OOO until 2018)
4 years ago (2016-12-13 23:32:55 UTC) #54
Message was sent while issue was closed.
On 2016/12/13 at 15:39:00, agrieve wrote:
> On 2016/12/09 14:59:15, martiniss wrote:
> > On 2016/12/08 at 23:23:36, alancutter wrote:
> > > On 2016/12/08 at 23:13:21, alancutter wrote:
> > > > A revert of this CL (patchset #3 id:40001) has been created in
> > https://codereview.chromium.org/2567453002/ by
mailto:alancutter@chromium.org.
> > > > 
> > > > The reason for reverting is: Broke the mac compile bot:
> > > >
> >
https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac%20Builder%....
> > > 
> > > Mini post mortem:
> > > The flaky failures of android_n5x_swarming_rel delayed this patch from
> > committing for ~1 day. In the meantime another change landed that, together
with
> > this patch, fails to compile. The patch landed anyway because ~1 day old try
bot
> > results were sufficient to pass CQ checks.
> > 
> > Filed https://bugs.chromium.org/p/chromium/issues/detail?id=672846 to get
this
> > investigated.
> 
> Note: This change reduced ChromeModern.apk by 70kb! Yay (assuming a reland
will eventually happen)

This change has landed (third time was lucky). I'm very very skeptical about a
70kb size reduction though, this change is more or less just moving code around.

Powered by Google App Engine
This is Rietveld 408576698