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

Issue 2595393002: Fold SVGAnimatedTypeAnimator into SVGAnimateElement (Closed)

Created:
4 years ago by fs
Modified:
3 years, 12 months ago
Reviewers:
pdr., Stephen Chennney
CC:
fs, darktears, blink-reviews, blink-reviews-animation_chromium.org, chromium-reviews, krit, Eric Willigers, f(malita), 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

Fold SVGAnimatedTypeAnimator into SVGAnimateElement This folds the functionality of SVGAnimatedTypeAnimator, mostly verbatim, into SVGAnimateElement. Some methods are renamed, and a new interface is defined, which allows <animateTransform> to be more isolated from the rest of the <animate> implementation. SVGAnimateElement::m_animatedProperty is renamed to m_animatedValue, and SVGAnimatedTypeAnimator::m_animatedProperty is renamed to m_targetProperty. Dial down or remove some asserts in favor of other asserts. BUG=641437 Committed: https://crrev.com/eaf764b300511979136eeed7907c1692bcc14a47 Cr-Commit-Position: refs/heads/master@{#440613}

Patch Set 1 #

Patch Set 2 : Fix m_type setup in animateTransform #

Total comments: 3

Patch Set 3 : More ASSERT to DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+209 lines, -311 lines) Patch
M third_party/WebKit/Source/core/svg/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimateElement.h View 2 chunks +19 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp View 1 2 13 chunks +158 lines, -53 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.h View 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.cpp View 1 2 chunks +27 lines, -4 lines 0 comments Download
D third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.h View 1 chunk +0 lines, -70 lines 0 comments Download
D third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.cpp View 1 chunk +0 lines, -171 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp View 1 chunk +1 line, -5 lines 0 comments Download

Messages

Total messages: 29 (18 generated)
fs
4 years ago (2016-12-22 19:22:53 UTC) #8
Stephen Chennney
LGTM with nit to avoid presubmit annoyance in the future. https://codereview.chromium.org/2595393002/diff/20001/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp File third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp (right): https://codereview.chromium.org/2595393002/diff/20001/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp#newcode299 ...
4 years ago (2016-12-22 20:07:25 UTC) #10
fs
https://codereview.chromium.org/2595393002/diff/20001/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp File third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp (right): https://codereview.chromium.org/2595393002/diff/20001/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp#newcode299 third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp:299: ASSERT(percentage >= 0 && percentage <= 1); On 2016/12/22 ...
4 years ago (2016-12-22 20:25:31 UTC) #11
fs
https://codereview.chromium.org/2595393002/diff/20001/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp File third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp (right): https://codereview.chromium.org/2595393002/diff/20001/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp#newcode299 third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp:299: ASSERT(percentage >= 0 && percentage <= 1); On 2016/12/22 ...
4 years ago (2016-12-22 21:45:49 UTC) #14
blink-reviews
Feel free to land as is. On Dec 22, 2016 3:45 PM, <fs@opera.com> wrote: > ...
4 years ago (2016-12-22 21:59:38 UTC) #15
chromium-reviews
Feel free to land as is. On Dec 22, 2016 3:45 PM, <fs@opera.com> wrote: > ...
4 years ago (2016-12-22 21:59:38 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/2595393002/40001
4 years ago (2016-12-22 22:00:17 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/361816)
4 years ago (2016-12-22 23:18:24 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/2595393002/40001
3 years, 12 months ago (2016-12-23 10:21:02 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001)
3 years, 12 months ago (2016-12-23 10:25:21 UTC) #27
commit-bot: I haz the power
3 years, 12 months ago (2016-12-23 10:27:15 UTC) #29
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/eaf764b300511979136eeed7907c1692bcc14a47
Cr-Commit-Position: refs/heads/master@{#440613}

Powered by Google App Engine
This is Rietveld 408576698