Index: third_party/WebKit/Source/core/svg/SVGFEDropShadowElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGFEDropShadowElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEDropShadowElement.cpp |
index 24775e128e36b86bfa9db5dbe66bbbbb282017b1..7f70d4cbf36a2c849582c4ff4b760a33a26e6b73 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGFEDropShadowElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGFEDropShadowElement.cpp |
@@ -87,8 +87,7 @@ PassRefPtrWillBeRawPtr<FilterEffect> SVGFEDropShadowElement::build(SVGFilterBuil |
float opacity = svgStyle.floodOpacity(); |
FilterEffect* input1 = filterBuilder->getEffectById(AtomicString(m_in1->currentValue()->value())); |
- if (!input1) |
- return nullptr; |
+ ASSERT(input1); |
// Clamp std.dev. to non-negative. (See SVGFEGaussianBlurElement::build) |
float stdDevX = std::max(0.0f, stdDeviationX()->currentValue()->value()); |