| Index: third_party/WebKit/Source/core/animation/ColorInterpolationType.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/ColorInterpolationType.cpp b/third_party/WebKit/Source/core/animation/ColorInterpolationType.cpp
|
| index 250f02bc53b0ad53d839d87eafd49bbd09b6e273..3dbe6412abcf0cc640fcc855d7836fcd81d146d0 100644
|
| --- a/third_party/WebKit/Source/core/animation/ColorInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/ColorInterpolationType.cpp
|
| @@ -75,11 +75,11 @@ PassOwnPtr<InterpolableValue> ColorInterpolationType::createInterpolableColor(co
|
|
|
| PassOwnPtr<InterpolableValue> ColorInterpolationType::maybeCreateInterpolableColor(const CSSValue& value)
|
| {
|
| + if (value.isColorValue())
|
| + return createInterpolableColor(toCSSColorValue(value).value());
|
| if (!value.isPrimitiveValue())
|
| return nullptr;
|
| const CSSPrimitiveValue& primitive = toCSSPrimitiveValue(value);
|
| - if (primitive.isRGBColor())
|
| - return createInterpolableColor(primitive.getRGBA32Value());
|
| if (!primitive.isValueID())
|
| return nullptr;
|
| if (!CSSPropertyParser::isColorKeyword(primitive.getValueID()))
|
|
|