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

Issue 2620303002: Refactor how UseCounter::SyntheticKeyframesInCompositedCSSAnimation is counted (Closed)

Created:
3 years, 11 months ago by alancutter (OOO until 2018)
Modified:
3 years, 11 months ago
Reviewers:
Timothy Loh
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, chromium-reviews, Eric Willigers, rjwright, shans
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor how UseCounter::SyntheticKeyframesInCompositedCSSAnimation is counted This patch rewrites the detection logic for composited animations that have neutral keyframes. The previous code was relatively expensive and failed a DCHECK when custom properties were used. This patch moves the use counting down into where we actually handle compositing neutral keyframes. BUG=679994 Review-Url: https://codereview.chromium.org/2620303002 Cr-Commit-Position: refs/heads/master@{#443180} Committed: https://chromium.googlesource.com/chromium/src/+/2d136863c16220ecc767607d4615624168d99212

Patch Set 1 #

Patch Set 2 : Moar testing #

Patch Set 3 : g cl set-commit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -34 lines) Patch
A third_party/WebKit/LayoutTests/animations/use-count-SyntheticKeyframesInCompositedCSSAnimation.html View 1 1 chunk +57 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/Keyframe.h View 1 2 1 chunk +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/core/animation/KeyframeEffectModel.cpp View 2 chunks +9 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/animatable/AnimatableValueKeyframe.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp View 1 chunk +0 lines, -29 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (12 generated)
alancutter (OOO until 2018)
3 years, 11 months ago (2017-01-11 07:31:28 UTC) #2
Timothy Loh
On 2017/01/11 07:31:28, alancutter wrote: lgtm but do we want some test for the synthetic ...
3 years, 11 months ago (2017-01-12 00:44:01 UTC) #3
alancutter (OOO until 2018)
On 2017/01/12 at 00:44:01, timloh wrote: > On 2017/01/11 07:31:28, alancutter wrote: > > lgtm ...
3 years, 11 months ago (2017-01-12 00:50:32 UTC) #4
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/2620303002/20001
3 years, 11 months ago (2017-01-12 00:56:06 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/301494)
3 years, 11 months ago (2017-01-12 02:14:07 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/2620303002/40001
3 years, 11 months ago (2017-01-12 03:18:04 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/263273)
3 years, 11 months ago (2017-01-12 03:27:35 UTC) #14
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/2620303002/40001
3 years, 11 months ago (2017-01-12 04:32:33 UTC) #16
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/367453)
3 years, 11 months ago (2017-01-12 05:38:45 UTC) #18
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/2620303002/40001
3 years, 11 months ago (2017-01-12 06:59:59 UTC) #20
commit-bot: I haz the power
3 years, 11 months ago (2017-01-12 07:58:57 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/2d136863c16220ecc767607d4615...

Powered by Google App Engine
This is Rietveld 408576698