Index: third_party/WebKit/Source/core/svg/SVGFEColorMatrixElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGFEColorMatrixElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEColorMatrixElement.cpp |
index 8235b8137eff7e4f1e16c45fb00a89dd8b93368a..0a9c90c7f264a067b0a0fb23049aebe4e021ef5c 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGFEColorMatrixElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGFEColorMatrixElement.cpp |
@@ -93,9 +93,7 @@ void SVGFEColorMatrixElement::svgAttributeChanged(const QualifiedName& attrName) |
PassRefPtrWillBeRawPtr<FilterEffect> SVGFEColorMatrixElement::build(SVGFilterBuilder* filterBuilder, Filter* filter) |
{ |
FilterEffect* input1 = filterBuilder->getEffectById(AtomicString(m_in1->currentValue()->value())); |
- |
- if (!input1) |
- return nullptr; |
+ ASSERT(input1); |
ColorMatrixType filterType = m_type->currentValue()->enumValue(); |
Vector<float> filterValues = m_values->currentValue()->toFloatVector(); |