Index: third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp |
diff --git a/third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp b/third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp |
index d43c0a2ea9649562a440a7352e8ffa4963542868..0113b9bea890ce8c1675c0d31628e5ec5995ee40 100644 |
--- a/third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp |
+++ b/third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp |
@@ -20,6 +20,7 @@ |
#include "core/animation/CSSPositionAxisListInterpolationType.h" |
#include "core/animation/CSSPositionInterpolationType.h" |
#include "core/animation/CSSShadowListInterpolationType.h" |
+#include "core/animation/CSSTranslateInterpolationType.h" |
#include "core/animation/CSSValueInterpolationType.h" |
#include "core/animation/CSSVisibilityInterpolationType.h" |
#include "core/animation/InterpolationType.h" |
@@ -193,6 +194,9 @@ const InterpolationTypes* PropertyInterpolationTypesMapping::get(const PropertyH |
case CSSPropertyBorderTopRightRadius: |
applicableTypes->append(adoptPtr(new CSSLengthPairInterpolationType(cssProperty))); |
break; |
+ case CSSPropertyTranslate: |
+ applicableTypes->append(adoptPtr(new CSSTranslateInterpolationType(cssProperty))); |
+ break; |
default: |
// TODO(alancutter): Support all interpolable CSS properties here so we can stop falling back to the old StyleInterpolation implementation. |
if (CSSPropertyMetadata::isInterpolableProperty(cssProperty)) |