|
Add StylePath and use it to store 'd' in ComputedStyle
This adds a new class StylePath, that wraps a SVGPathByteStream and a
Path to be used when painting et.c. Create a StylePath on-demand from
CSSPathValue, and then cache the resulting value.
This allows sharing the various levels of path-data between different
instances/elements. It also avoids eagerly constructing the Path object
at setAttribute-time.
To be able to achieve this, SVGPathByteStream is made to be reference-
counted.
BUG= 535429
Committed: https://crrev.com/f94944ad723e8a0cbee71258960394d17f32adef
Cr-Commit-Position: refs/heads/master@{#368320}
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+178 lines, -61 lines) |
Patch |
|
M |
third_party/WebKit/Source/core/animation/SVGPathInterpolationType.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/animatable/AnimatablePath.h
|
View
|
1
|
1 chunk |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/animatable/AnimatablePath.cpp
|
View
|
1
|
3 chunks |
+12 lines, -8 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/core.gypi
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSPathValue.h
|
View
|
1
2
3
|
2 chunks |
+8 lines, -10 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/CSSPathValue.cpp
|
View
|
1
2
|
2 chunks |
+20 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.h
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/style/ComputedStyle.h
|
View
|
1
2
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/style/SVGComputedStyle.h
|
View
|
1
2
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/style/SVGComputedStyleDefs.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/style/SVGComputedStyleDefs.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A |
third_party/WebKit/Source/core/style/StylePath.h
|
View
|
1
2
3
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/Source/core/style/StylePath.cpp
|
View
|
1
2
3
|
1 chunk |
+50 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/svg/SVGPath.cpp
|
View
|
1
|
6 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/svg/SVGPathByteStream.h
|
View
|
1
|
2 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/svg/SVGPathElement.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 14 (6 generated)
|