| Index: third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.cpp b/third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.cpp
|
| index b12ffaf59feed844e18a14ca169935c0687878d0..7c1fbd98833a24235700e7d835283d66af92e520 100644
|
| --- a/third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.cpp
|
| @@ -91,8 +91,11 @@ double clampParameter(double value, FilterOperation::OperationType type)
|
|
|
| InterpolationValue FilterInterpolationFunctions::maybeConvertCSSFilter(const CSSValue& value)
|
| {
|
| + if (value.isURIValue())
|
| + return nullptr;
|
| +
|
| const CSSFunctionValue& filter = toCSSFunctionValue(value);
|
| - ASSERT(filter.length() <= 1);
|
| + DCHECK_LE(filter.length(), 1u);
|
| FilterOperation::OperationType type = FilterOperationResolver::filterOperationForType(filter.functionType());
|
| InterpolationValue result = nullptr;
|
|
|
| @@ -136,9 +139,6 @@ InterpolationValue FilterInterpolationFunctions::maybeConvertCSSFilter(const CSS
|
| break;
|
| }
|
|
|
| - case FilterOperation::REFERENCE:
|
| - return nullptr;
|
| -
|
| default:
|
| NOTREACHED();
|
| return nullptr;
|
|
|