Index: third_party/WebKit/Source/core/svg/SVGFEComponentTransferElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGFEComponentTransferElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEComponentTransferElement.cpp |
index 210dd21af3530d9581885685965aa927e028fea7..e5925bee7358708300e1eb0289035738ff6c7ff6 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGFEComponentTransferElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGFEComponentTransferElement.cpp |
@@ -62,9 +62,7 @@ void SVGFEComponentTransferElement::svgAttributeChanged(const QualifiedName& att |
PassRefPtrWillBeRawPtr<FilterEffect> SVGFEComponentTransferElement::build(SVGFilterBuilder* filterBuilder, Filter* filter) |
{ |
FilterEffect* input1 = filterBuilder->getEffectById(AtomicString(m_in1->currentValue()->value())); |
- |
- if (!input1) |
- return nullptr; |
+ ASSERT(input1); |
ComponentTransferFunction red; |
ComponentTransferFunction green; |