Index: third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp |
index 0a3d41036c797e9ec1ac16668f211972b1e625a5..ef834b9901f66bc7c9069ab54edd64237f68db44 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.cpp |
@@ -265,4 +265,13 @@ void CSSColorInterpolationType::applyStandardPropertyValue( |
cssProperty() == CSSPropertyTextDecorationColor)); |
} |
+const CSSValue* CSSColorInterpolationType::createCSSValue( |
+ const InterpolableValue& interpolableValue, |
+ const NonInterpolableValue*, |
+ const StyleResolverState& state) const { |
+ const InterpolableList& colorPair = toInterpolableList(interpolableValue); |
+ Color color = resolveInterpolableColor(*colorPair.get(Unvisited), state); |
+ return CSSColorValue::create(color.rgb()); |
+} |
+ |
} // namespace blink |