Index: third_party/WebKit/Source/core/svg/SVGFEOffsetElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGFEOffsetElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEOffsetElement.cpp |
index 5bb9c2b47a7a1b015eee58aaa1b097967d6ad44d..14c0919504e26050014f3a61b2887ebebceebb97 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGFEOffsetElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGFEOffsetElement.cpp |
@@ -64,9 +64,7 @@ void SVGFEOffsetElement::svgAttributeChanged(const QualifiedName& attrName) |
PassRefPtrWillBeRawPtr<FilterEffect> SVGFEOffsetElement::build(SVGFilterBuilder* filterBuilder, Filter* filter) |
{ |
FilterEffect* input1 = filterBuilder->getEffectById(AtomicString(m_in1->currentValue()->value())); |
- |
- if (!input1) |
- return nullptr; |
+ ASSERT(input1); |
RefPtrWillBeRawPtr<FilterEffect> effect = FEOffset::create(filter, m_dx->currentValue()->value(), m_dy->currentValue()->value()); |
effect->inputEffects().append(input1); |