Index: third_party/WebKit/Source/core/animation/StringKeyframe.cpp |
diff --git a/third_party/WebKit/Source/core/animation/StringKeyframe.cpp b/third_party/WebKit/Source/core/animation/StringKeyframe.cpp |
index b348b1952037fe611f46a16270c090daefc7fafd..3ea0b7078f539de509f1d4880dfd23995c07ea8d 100644 |
--- a/third_party/WebKit/Source/core/animation/StringKeyframe.cpp |
+++ b/third_party/WebKit/Source/core/animation/StringKeyframe.cpp |
@@ -15,6 +15,7 @@ |
#include "core/animation/CSSPaintInterpolationType.h" |
#include "core/animation/CSSShadowListInterpolationType.h" |
#include "core/animation/CSSValueInterpolationType.h" |
+#include "core/animation/CSSVisibilityInterpolationType.h" |
#include "core/animation/CompositorAnimations.h" |
#include "core/animation/ConstantStyleInterpolation.h" |
#include "core/animation/DefaultSVGInterpolation.h" |
@@ -260,6 +261,9 @@ const InterpolationTypes* applicableTypesForProperty(PropertyHandle property) |
case CSSPropertyFontWeight: |
applicableTypes->append(adoptPtr(new CSSFontWeightInterpolationType(cssProperty))); |
break; |
+ case CSSPropertyVisibility: |
+ applicableTypes->append(adoptPtr(new CSSVisibilityInterpolationType(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)) |