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

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

Issue 2236193002: WIP: Implement CSS transitions on top of InterpolationTypes instead of AnimatableValues (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_environmentStyle
Patch Set: Created 4 years, 4 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/Keyframe.cpp
diff --git a/third_party/WebKit/Source/core/animation/Keyframe.cpp b/third_party/WebKit/Source/core/animation/Keyframe.cpp
index 815dca91d0cb05f79ee9281877f2cb98e8ba19ec..f9d9f6e236390d6c530a3e67a9f4213a5263e7b5 100644
--- a/third_party/WebKit/Source/core/animation/Keyframe.cpp
+++ b/third_party/WebKit/Source/core/animation/Keyframe.cpp
@@ -4,7 +4,7 @@
#include "core/animation/Keyframe.h"
-#include "core/animation/InvalidatableInterpolation.h"
+#include "core/animation/KeyframeInterpolation.h"
#include "core/animation/PropertyInterpolationTypesMapping.h"
namespace blink {
@@ -12,7 +12,7 @@ namespace blink {
PassRefPtr<Interpolation> Keyframe::PropertySpecificKeyframe::createInterpolation(PropertyHandle propertyHandle, const Keyframe::PropertySpecificKeyframe& end) const
{
// const_cast to take refs.
- return InvalidatableInterpolation::create(propertyHandle, PropertyInterpolationTypesMapping::get(propertyHandle),
+ return KeyframeInterpolation::create(propertyHandle, PropertyInterpolationTypesMapping::get(propertyHandle),
const_cast<PropertySpecificKeyframe*>(this),
const_cast<PropertySpecificKeyframe*>(&end));
}

Powered by Google App Engine
This is Rietveld 408576698