Index: src/gpu/effects/GrOvalEffect.cpp |
diff --git a/src/gpu/effects/GrOvalEffect.cpp b/src/gpu/effects/GrOvalEffect.cpp |
index dec6ae2bada34cd9967d0ae0b2848612ae6baaa6..0f3df7d66c0f2609fa55a3ec10523b7e193d8675 100644 |
--- a/src/gpu/effects/GrOvalEffect.cpp |
+++ b/src/gpu/effects/GrOvalEffect.cpp |
@@ -360,7 +360,7 @@ GrGLFragmentProcessor* EllipseEffect::onCreateGLInstance() const { |
GrFragmentProcessor* GrOvalEffect::Create(GrPrimitiveEdgeType edgeType, const SkRect& oval) { |
if (kHairlineAA_GrProcessorEdgeType == edgeType) { |
- return NULL; |
+ return nullptr; |
} |
SkScalar w = oval.width(); |
SkScalar h = oval.height(); |
@@ -373,5 +373,5 @@ GrFragmentProcessor* GrOvalEffect::Create(GrPrimitiveEdgeType edgeType, const Sk |
return EllipseEffect::Create(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + h), w, h); |
} |
- return NULL; |
+ return nullptr; |
} |