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

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

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

Powered by Google App Engine
This is Rietveld 408576698