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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceFilterPrimitive.cpp

Issue 2128193004: Update FilterEffect colorspace on color-interpolation-filters changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/layout/svg/LayoutSVGResourceFilterPrimitive.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceFilterPrimitive.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceFilterPrimitive.cpp
index c2aa8c59428d6d9016b7d0716ac53ba5fd489523..3c1b8d9ecb8d1eb0249b6c48a52064489aca8dd0 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceFilterPrimitive.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceFilterPrimitive.cpp
@@ -50,6 +50,8 @@ void LayoutSVGResourceFilterPrimitive::styleDidChange(StyleDifference diff, cons
if (newStyle.lightingColor() != oldStyle->svgStyle().lightingColor())
toLayoutSVGResourceFilter(filter)->primitiveAttributeChanged(this, SVGNames::lighting_colorAttr);
}
+ if (newStyle.colorInterpolationFilters() != oldStyle->svgStyle().colorInterpolationFilters())
+ toLayoutSVGResourceFilter(filter)->primitiveAttributeChanged(this, SVGNames::color_interpolation_filtersAttr);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698