| 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 691ae0b6bd89bd7e1d43aee6323e3983026ed3b7..43a59fc3ffbfb7f8802f79a234751e6b7b0e3ff2 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/CSSShadowListInterpolationType.h"
|
| +#include "core/animation/CSSTranslateInterpolationType.h"
|
| #include "core/animation/CSSValueInterpolationType.h"
|
| #include "core/animation/CSSVisibilityInterpolationType.h"
|
| #include "core/animation/InterpolationType.h"
|
| @@ -167,6 +168,9 @@ const InterpolationTypes* PropertyInterpolationTypesMapping::get(const PropertyH
|
| case CSSPropertyVisibility:
|
| applicableTypes->append(adoptPtr(new CSSVisibilityInterpolationType(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))
|
|
|