Chromium Code Reviews| Index: third_party/WebKit/Source/core/svg/SVGFEBlendElement.cpp |
| diff --git a/third_party/WebKit/Source/core/svg/SVGFEBlendElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEBlendElement.cpp |
| index 4c4f23cccae0412c6412a12191cb1fb4d95ebbeb..2dbb96a9b63c7b5814ace2e8c667a7a3895c65e6 100644 |
| --- a/third_party/WebKit/Source/core/svg/SVGFEBlendElement.cpp |
| +++ b/third_party/WebKit/Source/core/svg/SVGFEBlendElement.cpp |
| @@ -152,7 +152,7 @@ FilterEffect* SVGFEBlendElement::build(SVGFilterBuilder* filterBuilder, |
| AtomicString(m_in1->currentValue()->value())); |
| FilterEffect* input2 = filterBuilder->getEffectById( |
| AtomicString(m_in2->currentValue()->value())); |
| - ASSERT(input1 && input2); |
| + DCHECK(input1 && input2); |
|
tkent
2017/03/14 22:33:14
Split it to two DCHECKs.
DCHECK(input1);
DCHEC
mrunal
2017/03/14 23:52:14
Done.
|
| FilterEffect* effect = FEBlend::create( |
| filter, toWebBlendMode(m_mode->currentValue()->enumValue())); |