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 493cb64d12f9ae8875182fd8c98b08b800c90ac7..d09df4f7dd0c79c7f8f765fb15f9273fcbbd8146 100644 |
--- a/third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp |
+++ b/third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp |
@@ -16,6 +16,7 @@ |
#include "core/animation/CSSPaintInterpolationType.h" |
#include "core/animation/CSSPathInterpolationType.h" |
#include "core/animation/CSSPositionAxisListInterpolationType.h" |
+#include "core/animation/CSSPositionInterpolationType.h" |
#include "core/animation/CSSShadowListInterpolationType.h" |
#include "core/animation/CSSValueInterpolationType.h" |
#include "core/animation/CSSVisibilityInterpolationType.h" |
@@ -174,6 +175,10 @@ const InterpolationTypes* PropertyInterpolationTypesMapping::get(const PropertyH |
case CSSPropertyWebkitMaskPositionY: |
applicableTypes->append(adoptPtr(new CSSPositionAxisListInterpolationType(cssProperty))); |
break; |
+ case CSSPropertyPerspectiveOrigin: |
+ case CSSPropertyObjectPosition: |
+ applicableTypes->append(adoptPtr(new CSSPositionInterpolationType(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)) |