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/SkPaintPart.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/SkPaintPart.h ('k') | src/animator/SkParseSVGPath.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/animator/SkPaintPart.cpp
diff --git a/src/animator/SkPaintPart.cpp b/src/animator/SkPaintPart.cpp
index 285b564c9332b2c6a811a91cbcc2c5e0694d162c..842dbc97526b7d62d85fa8bfbaabe9c9d78ad3ac 100644
--- a/src/animator/SkPaintPart.cpp
+++ b/src/animator/SkPaintPart.cpp
@@ -12,7 +12,7 @@
#include "SkDump.h"
#endif
-SkPaintPart::SkPaintPart() : fPaint(NULL) {
+SkPaintPart::SkPaintPart() : fPaint(nullptr) {
}
SkDisplayable* SkPaintPart::getParent() const {
@@ -20,7 +20,7 @@ SkDisplayable* SkPaintPart::getParent() const {
}
bool SkPaintPart::setParent(SkDisplayable* parent) {
- SkASSERT(parent != NULL);
+ SkASSERT(parent != nullptr);
if (parent->isPaint() == false)
return true;
fPaint = (SkDrawPaint*) parent;
@@ -38,7 +38,7 @@ bool SkDrawMaskFilter::add() {
}
SkMaskFilter* SkDrawMaskFilter::getMaskFilter() {
- return NULL;
+ return nullptr;
}
@@ -51,18 +51,18 @@ bool SkDrawPathEffect::add() {
fPaint->fOwnsPathEffect = true;
return false;
}
- fPaint->add(NULL, this);
+ fPaint->add(nullptr, this);
return false;
}
SkPathEffect* SkDrawPathEffect::getPathEffect() {
- return NULL;
+ return nullptr;
}
// SkDrawShader
SkShader* SkDrawShader::getShader() {
- return NULL;
+ return nullptr;
}
« no previous file with comments | « src/animator/SkPaintPart.h ('k') | src/animator/SkParseSVGPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698