|
Pass InterpolationEnvironment as a reference to InterpolationType conversion functions
This change converts the InterpolationEnvironment* parameter of
InterpolationType::maybeConvertPairwise() and InterpolationType::maybeConvertSingle()
into an InterpolationEnvironment&.
Previously we would attempt conversion of the keyframes without an environment
until crrev.com/70ab3999 which removed the optimisation.
This patch is to improve code health in the absence of this optimisation
with the reasoning that we can add the optimisation back given performance
data to justify the complexity cost.
Committed: https://crrev.com/11fb42276c0ceff1f5e0ac9c3ff20b726692c8e0
Cr-Commit-Position: refs/heads/master@{#356769}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+58 lines, -59 lines) |
Patch |
 |
M |
third_party/WebKit/Source/core/animation/CSSColorInterpolationType.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/CSSImageInterpolationType.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/CSSImageListInterpolationType.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/CSSImageListInterpolationType.cpp
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/CSSInterpolationType.h
|
View
|
|
1 chunk |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp
|
View
|
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.cpp
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/CSSPaintInterpolationType.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/CSSPaintInterpolationType.cpp
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp
|
View
|
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/CSSValueInterpolationType.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/CSSValueInterpolationType.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/InterpolationType.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/InvalidatableInterpolation.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/animation/InvalidatableInterpolation.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
Depends on Patchset:
Dependent Patchsets:
Total messages: 16 (7 generated)
|