aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/animator/SkDrawEmboss.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/animator/SkDrawEmboss.cpp')
-rw-r--r--src/animator/SkDrawEmboss.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animator/SkDrawEmboss.cpp b/src/animator/SkDrawEmboss.cpp
index 70a2826d3e..a1cd4dcd16 100644
--- a/src/animator/SkDrawEmboss.cpp
+++ b/src/animator/SkDrawEmboss.cpp
@@ -28,7 +28,7 @@ SkDrawEmboss::SkDrawEmboss() : fSigma(-1) {
SkMaskFilter* SkDrawEmboss::getMaskFilter() {
if (fSigma < 0 || fDirection.count() !=3)
- return NULL;
+ return nullptr;
return SkBlurMaskFilter::CreateEmboss(fSigma, fDirection.begin(),
fAmbient, fSpecular);
}