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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFEDisplacementMapElement.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/SVGFEDisplacementMapElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFEDisplacementMapElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEDisplacementMapElement.cpp
index b36f09e4f57b41c041e3329f28e3113747cf53c8..dabb9d00c0473da0a3dbf6733d9c9577a7f98074 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEDisplacementMapElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFEDisplacementMapElement.cpp
@@ -74,8 +74,7 @@ bool SVGFEDisplacementMapElement::setFilterEffectAttribute(FilterEffect* effect,
if (attrName == SVGNames::scaleAttr)
return displacementMap->setScale(m_scale->currentValue()->value());
- ASSERT_NOT_REACHED();
- return false;
+ return SVGFilterPrimitiveStandardAttributes::setFilterEffectAttribute(effect, attrName);
}
void SVGFEDisplacementMapElement::svgAttributeChanged(const QualifiedName& attrName)

Powered by Google App Engine
This is Rietveld 408576698