|
Refactor SVGAnimatedLength negative values mode
The SVGAnimatedLength constructor takes an additional argument (compared to the
arguments passed to other SVGAnimatedProperty classes) which represents whether
the length may be negative. Although this is stored as a property of
SVGAnimatedLength, the value is determined by the particular SVG attribute that
the SVGAnimatedLength is representing, and does not change.
In order to facilitate the implementation of additive animations for
AnimatedLength, this patch removes this additional argument, and instead
implements a helper function in SVGLength.h to look up the value for a given SVG
attribute.
BUG= 530436
Committed: https://crrev.com/acabbbf906dfc4c71bf2ad097527b87cc2227db6
Cr-Commit-Position: refs/heads/master@{#362941}
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+98 lines, -90 lines) |
Patch |
 |
M |
third_party/WebKit/Source/core/animation/LengthSVGInterpolation.h
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/LengthSVGInterpolation.cpp
|
View
|
1
|
4 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/ListSVGInterpolation.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/SVGAnimatedLength.h
|
View
|
|
1 chunk |
+3 lines, -9 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/SVGAnimatedLength.cpp
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/SVGCircleElement.cpp
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/SVGCursorElement.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/SVGEllipseElement.cpp
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/SVGFilterElement.cpp
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/SVGForeignObjectElement.cpp
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/SVGImageElement.cpp
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/SVGLength.h
|
View
|
1
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/SVGLength.cpp
|
View
|
1
|
2 chunks |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/SVGLineElement.cpp
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/SVGLinearGradientElement.cpp
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/SVGMaskElement.cpp
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/SVGPatternElement.cpp
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/SVGRadialGradientElement.cpp
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/SVGRectElement.cpp
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/SVGUseElement.cpp
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
Total messages: 17 (8 generated)
|