Index: third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp |
index 6653fb7f86656662df25424d54f52719ee51412e..b1806d3d8b9342f3caa61503a6a6ccf260b8a83c 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp |
@@ -159,9 +159,7 @@ void SVGFEConvolveMatrixElement::svgAttributeChanged(const QualifiedName& attrNa |
PassRefPtrWillBeRawPtr<FilterEffect> SVGFEConvolveMatrixElement::build(SVGFilterBuilder* filterBuilder, Filter* filter) |
{ |
FilterEffect* input1 = filterBuilder->getEffectById(AtomicString(m_in1->currentValue()->value())); |
- |
- if (!input1) |
- return nullptr; |
+ ASSERT(input1); |
int orderXValue = orderX()->currentValue()->value(); |
int orderYValue = orderY()->currentValue()->value(); |