| Index: third_party/WebKit/Source/core/svg/SVGFECompositeElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGFECompositeElement.cpp b/third_party/WebKit/Source/core/svg/SVGFECompositeElement.cpp
|
| index af115d989e354279a2fe23fdb3eb0c68fc0291c9..bbc344a4355c1ef2dc7d6eba137df20996bff8af 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGFECompositeElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGFECompositeElement.cpp
|
| @@ -125,9 +125,7 @@ PassRefPtrWillBeRawPtr<FilterEffect> SVGFECompositeElement::build(SVGFilterBuild
|
| {
|
| FilterEffect* input1 = filterBuilder->getEffectById(AtomicString(m_in1->currentValue()->value()));
|
| FilterEffect* input2 = filterBuilder->getEffectById(AtomicString(m_in2->currentValue()->value()));
|
| -
|
| - if (!input1 || !input2)
|
| - return nullptr;
|
| + ASSERT(input1 && input2);
|
|
|
| RefPtrWillBeRawPtr<FilterEffect> effect = FEComposite::create(filter, m_svgOperator->currentValue()->enumValue(), m_k1->currentValue()->value(), m_k2->currentValue()->value(), m_k3->currentValue()->value(), m_k4->currentValue()->value());
|
| FilterEffectVector& inputEffects = effect->inputEffects();
|
|
|