Index: third_party/WebKit/Source/core/svg/SVGFEGaussianBlurElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGFEGaussianBlurElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEGaussianBlurElement.cpp |
index cfb1503edc502291f1c3ddb4485c5fb09b9acf3c..f57acbbd9a00bac6ed6cb494c88046aace6fc18c 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGFEGaussianBlurElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGFEGaussianBlurElement.cpp |
@@ -68,9 +68,7 @@ void SVGFEGaussianBlurElement::svgAttributeChanged(const QualifiedName& attrName |
PassRefPtrWillBeRawPtr<FilterEffect> SVGFEGaussianBlurElement::build(SVGFilterBuilder* filterBuilder, Filter* filter) |
{ |
FilterEffect* input1 = filterBuilder->getEffectById(AtomicString(m_in1->currentValue()->value())); |
- |
- if (!input1) |
- return nullptr; |
+ ASSERT(input1); |
// "A negative value or a value of zero disables the effect of the given |
// filter primitive (i.e., the result is the filter input image)." |