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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFEFloodElement.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/svg/SVGFEFloodElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFEFloodElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEFloodElement.cpp
index f0ce9e7af542796a7b2da4233473fe367a735dca..f13540b2e332b43b01c4a72124b9e1cc24fa5f9d 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEFloodElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFEFloodElement.cpp
@@ -46,8 +46,7 @@ bool SVGFEFloodElement::setFilterEffectAttribute(FilterEffect* effect, const Qua
if (attrName == SVGNames::flood_opacityAttr)
return flood->setFloodOpacity(style.svgStyle().floodOpacity());
- ASSERT_NOT_REACHED();
- return false;
+ return SVGFilterPrimitiveStandardAttributes::setFilterEffectAttribute(effect, attrName);
}
FilterEffect* SVGFEFloodElement::build(SVGFilterBuilder*, Filter* filter)

Powered by Google App Engine
This is Rietveld 408576698