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 f0d423c34e573694b50f3c521405137196ceda88..612dcf999f66f3cf6ac3d7182ade1f23ce12ba89 100644 |
--- a/third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp |
+++ b/third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp |
@@ -5,6 +5,7 @@ |
#include "core/animation/PropertyInterpolationTypesMapping.h" |
#include "core/HTMLNames.h" |
+#include "core/animation/CSSClipInterpolationType.h" |
#include "core/animation/CSSColorInterpolationType.h" |
#include "core/animation/CSSFontWeightInterpolationType.h" |
#include "core/animation/CSSImageInterpolationType.h" |
@@ -166,6 +167,9 @@ const InterpolationTypes* PropertyInterpolationTypesMapping::get(const PropertyH |
case CSSPropertyVisibility: |
applicableTypes->append(adoptPtr(new CSSVisibilityInterpolationType(cssProperty))); |
break; |
+ case CSSPropertyClip: |
+ applicableTypes->append(adoptPtr(new CSSClipInterpolationType(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)) |