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

Issue 180113007: [SVG] refactor determineAnimatedPropertyType logic. (Closed)

Created:
6 years, 9 months ago by kouhei (in TOK)
Modified:
6 years, 9 months ago
Reviewers:
haraken, pdr., fs
CC:
blink-reviews, ed+blinkwatch_opera.com, shans, rjwright, alancutter (OOO until 2018), Mike Lawther (Google), rwlbuis, fs, dstockwell, Timothy Loh, krit, f(malita), gyuyoung.kim_webkit.org, darktears, Stephen Chennney, Steve Block, dino_apple.com, pdr., Eric Willigers
Visibility:
Public.

Description

[SVG] refactor determineAnimatedPropertyType logic. - SVGElement::animatedPropertyTypeForAttribute() was deprecated. |SVGElement::animatedPropertyTypeForCSSAttribute()| is provided to retrieve CSS types. - |SVGAnimateElement::determineAnimatedPropertyType()| is moved to SVGAnimationElement, and its argument is omitted. -- Its argument was always targetElement() -- This removes the need for cast in |SVGAnimationElement::currentValuesForValuesAnimation()| BUG=349370 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168615

Patch Set 1 #

Total comments: 4

Patch Set 2 : review comments #

Patch Set 3 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -106 lines) Patch
M Source/core/svg/SVGAnimateElement.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/svg/SVGAnimateElement.cpp View 1 3 chunks +2 lines, -25 lines 0 comments Download
M Source/core/svg/SVGAnimationElement.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGAnimationElement.cpp View 1 2 2 chunks +21 lines, -1 line 0 comments Download
M Source/core/svg/SVGElement.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGElement.cpp View 1 2 2 chunks +67 lines, -77 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
kouhei (in TOK)
PTAL.
6 years, 9 months ago (2014-03-05 10:58:42 UTC) #1
fs
Looks good to me with a minor nit. https://codereview.chromium.org/180113007/diff/1/Source/core/svg/SVGAnimationElement.cpp File Source/core/svg/SVGAnimationElement.cpp (right): https://codereview.chromium.org/180113007/diff/1/Source/core/svg/SVGAnimationElement.cpp#newcode497 Source/core/svg/SVGAnimationElement.cpp:497: AnimatedPropertyType ...
6 years, 9 months ago (2014-03-05 11:53:32 UTC) #2
haraken
LGTM https://codereview.chromium.org/180113007/diff/1/Source/core/svg/SVGAnimateElement.cpp File Source/core/svg/SVGAnimateElement.cpp (left): https://codereview.chromium.org/180113007/diff/1/Source/core/svg/SVGAnimateElement.cpp#oldcode78 Source/core/svg/SVGAnimateElement.cpp:78: // http://www.w3.org/TR/SVG/animate.html#AnimationAttributesAndProperties Keep this spec link.
6 years, 9 months ago (2014-03-05 14:26:48 UTC) #3
kouhei (in TOK)
https://codereview.chromium.org/180113007/diff/1/Source/core/svg/SVGAnimateElement.cpp File Source/core/svg/SVGAnimateElement.cpp (left): https://codereview.chromium.org/180113007/diff/1/Source/core/svg/SVGAnimateElement.cpp#oldcode78 Source/core/svg/SVGAnimateElement.cpp:78: // http://www.w3.org/TR/SVG/animate.html#AnimationAttributesAndProperties On 2014/03/05 14:26:49, haraken wrote: > > ...
6 years, 9 months ago (2014-03-06 03:53:30 UTC) #4
kouhei (in TOK)
The CQ bit was checked by kouhei@chromium.org
6 years, 9 months ago (2014-03-06 03:53:34 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/180113007/20001
6 years, 9 months ago (2014-03-06 03:53:51 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-06 08:01:28 UTC) #7
commit-bot: I haz the power
Failed to apply patch for Source/core/svg/SVGElement.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-06 08:01:29 UTC) #8
kouhei (in TOK)
The CQ bit was checked by kouhei@chromium.org
6 years, 9 months ago (2014-03-06 09:06:59 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/180113007/40001
6 years, 9 months ago (2014-03-06 09:07:12 UTC) #10
commit-bot: I haz the power
6 years, 9 months ago (2014-03-06 09:59:46 UTC) #11
Message was sent while issue was closed.
Change committed as 168615

Powered by Google App Engine
This is Rietveld 408576698