Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(443)

Unified Diff: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp

Issue 1987943002: [wip] unprefix filter Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 6fddfd1ad163e998ad3443fac34ded3a6f8d0336..5475bfece4a12d451097b6f7d9f9299b22976548 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
@@ -2647,7 +2647,7 @@ CSSValue* ComputedStyleCSSValueMapping::get(CSSPropertyID propertyID, const Comp
return cssValuePool().createValue(style.shapeImageThreshold(), CSSPrimitiveValue::UnitType::Number);
case CSSPropertyShapeOutside:
return valueForShape(style, style.shapeOutside());
- case CSSPropertyWebkitFilter:
+ case CSSPropertyFilter:
return valueForFilter(style, style.filter());
case CSSPropertyBackdropFilter:
return valueForFilter(style, style.backdropFilter());
@@ -2838,10 +2838,6 @@ CSSValue* ComputedStyleCSSValueMapping::get(CSSPropertyID propertyID, const Comp
if (!svgStyle.maskerResource().isEmpty())
return CSSURIValue::create(serializeAsFragmentIdentifier(svgStyle.maskerResource()));
return CSSPrimitiveValue::createIdentifier(CSSValueNone);
- case CSSPropertyFilter:
- if (!svgStyle.filterResource().isEmpty())
- return CSSURIValue::create(serializeAsFragmentIdentifier(svgStyle.filterResource()));
- return CSSPrimitiveValue::createIdentifier(CSSValueNone);
case CSSPropertyFloodColor:
return currentColorOrValidColor(style, svgStyle.floodColor());
case CSSPropertyLightingColor:

Powered by Google App Engine
This is Rietveld 408576698