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

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

Issue 2567453002: Revert of Make InvalidatableInterpolation's InterpolationTypes decided at effect application time (Closed)
Patch Set: Created 4 years 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 bf504e4afb74c1d47dfe094f5f3e10e51ff0f5e9..5c7333742c553428a8b8b9373cd004e86f151387 100644
--- a/third_party/WebKit/Source/core/animation/Keyframe.cpp
+++ b/third_party/WebKit/Source/core/animation/Keyframe.cpp
@@ -5,6 +5,7 @@
#include "core/animation/Keyframe.h"
#include "core/animation/InvalidatableInterpolation.h"
+#include "core/animation/PropertyInterpolationTypesMapping.h"
namespace blink {
@@ -14,7 +15,8 @@
const Keyframe::PropertySpecificKeyframe& end) const {
// const_cast to take refs.
return InvalidatableInterpolation::create(
- propertyHandle, const_cast<PropertySpecificKeyframe*>(this),
+ propertyHandle, PropertyInterpolationTypesMapping::get(propertyHandle),
+ const_cast<PropertySpecificKeyframe*>(this),
const_cast<PropertySpecificKeyframe*>(&end));
}

Powered by Google App Engine
This is Rietveld 408576698