Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2355)

Unified Diff: Source/core/svg/SVGFEMorphologyElement.cpp

Issue 170603003: Use nullptr_t for RefPtr, PassRefPtr and RawPtr. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final rebase Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGFEMergeElement.cpp ('k') | Source/core/svg/SVGFEOffsetElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « Source/core/svg/SVGFEMergeElement.cpp ('k') | Source/core/svg/SVGFEOffsetElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698