Index: Source/core/svg/SVGFEMorphologyElement.cpp |
diff --git a/Source/core/svg/SVGFEMorphologyElement.cpp b/Source/core/svg/SVGFEMorphologyElement.cpp |
index 157d9b3862d7b4d238f89b1e01afbc780f702d33..a17e99c464f0f39746cac05567c56c98d8bb602c 100644 |
--- a/Source/core/svg/SVGFEMorphologyElement.cpp |
+++ b/Source/core/svg/SVGFEMorphologyElement.cpp |
@@ -149,10 +149,10 @@ PassRefPtr<FilterEffect> SVGFEMorphologyElement::build(SVGFilterBuilder* filterB |
float yRadius = radiusY()->currentValue()->value(); |
if (!input1) |
- return 0; |
+ return nullptr; |
if (xRadius < 0 || yRadius < 0) |
- return 0; |
+ return nullptr; |
RefPtr<FilterEffect> effect = FEMorphology::create(filter, m_svgOperator->currentValue()->enumValue(), xRadius, yRadius); |
effect->inputEffects().append(input1); |