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

Unified Diff: src/animator/SkDrawClip.cpp

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 EDT Created 5 years, 4 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 | « src/animator/SkDrawBlur.cpp ('k') | src/animator/SkDrawColor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « src/animator/SkDrawBlur.cpp ('k') | src/animator/SkDrawColor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698