| Index: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
| index 55cf0444de026ab6d120d4a87c310dc304f9162a..0b1dbb416c183db51807ba35540f00f06079fa37 100644
|
| --- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
| @@ -1817,15 +1817,13 @@ CSSValue* ComputedStyleCSSValueMapping::valueForFilter(
|
| style));
|
| break;
|
| case FilterOperation::DROP_SHADOW: {
|
| - DropShadowFilterOperation* dropShadowOperation =
|
| - toDropShadowFilterOperation(filterOperation);
|
| + const auto& dropShadowOperation =
|
| + toDropShadowFilterOperation(*filterOperation);
|
| filterValue = CSSFunctionValue::create(CSSValueDropShadow);
|
| // We want our computed style to look like that of a text shadow (has
|
| // neither spread nor inset style).
|
| - ShadowData shadow(dropShadowOperation->location(),
|
| - dropShadowOperation->stdDeviation(), 0, Normal,
|
| - StyleColor(dropShadowOperation->getColor()));
|
| - filterValue->append(*valueForShadowData(shadow, style, false));
|
| + filterValue->append(
|
| + *valueForShadowData(dropShadowOperation.shadow(), style, false));
|
| break;
|
| }
|
| default:
|
|
|