Index: src/animator/SkDrawClip.cpp |
diff --git a/src/animator/SkDrawClip.cpp b/src/animator/SkDrawClip.cpp |
index e26a1bf410084c519375ba9eb6aa6e9b144140d3..bca816f6371b8c0af6620c8a3fcfbd9ccd9369b3 100644 |
--- a/src/animator/SkDrawClip.cpp |
+++ b/src/animator/SkDrawClip.cpp |
@@ -25,14 +25,14 @@ const SkMemberInfo SkDrawClip::fInfo[] = { |
DEFINE_GET_MEMBER(SkDrawClip); |
-SkDrawClip::SkDrawClip() : rect(NULL), path(NULL) { |
+SkDrawClip::SkDrawClip() : rect(nullptr), path(nullptr) { |
} |
bool SkDrawClip::draw(SkAnimateMaker& maker ) { |
- if (rect != NULL) |
+ if (rect != nullptr) |
maker.fCanvas->clipRect(rect->fRect); |
else { |
- SkASSERT(path != NULL); |
+ SkASSERT(path != nullptr); |
maker.fCanvas->clipPath(path->fPath); |
} |
return false; |