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

Unified Diff: third_party/WebKit/Source/core/animation/CompositorAnimations.cpp

Issue 2680923005: Refactor CSS Transitions to use CSSInterpolationTypes instead of AnimatableValues (Closed)
Patch Set: Fix transition tests to not expect incorrect behaviour Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/animation/CompositorAnimations.cpp
diff --git a/third_party/WebKit/Source/core/animation/CompositorAnimations.cpp b/third_party/WebKit/Source/core/animation/CompositorAnimations.cpp
index e4524c769cdcaff03ad55521107a0244dc04a9cf..1a0909aedb4d57648757c06f1b0e0ef626746a9f 100644
--- a/third_party/WebKit/Source/core/animation/CompositorAnimations.cpp
+++ b/third_party/WebKit/Source/core/animation/CompositorAnimations.cpp
@@ -538,9 +538,8 @@ void addKeyframeToCurve(CompositorTransformAnimationCurve& curve,
}
template <typename PlatformAnimationCurveType>
-void addKeyframesToCurve(
- PlatformAnimationCurveType& curve,
- const AnimatableValuePropertySpecificKeyframeVector& keyframes) {
+void addKeyframesToCurve(PlatformAnimationCurveType& curve,
+ const PropertySpecificKeyframeVector& keyframes) {
auto* lastKeyframe = keyframes.back().get();
for (const auto& keyframe : keyframes) {
const TimingFunction* keyframeTimingFunction = 0;

Powered by Google App Engine
This is Rietveld 408576698