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