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

Unified Diff: src/animator/SkPathParts.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/SkParseSVGPath.cpp ('k') | src/animator/SkPostParts.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/animator/SkPathParts.cpp
diff --git a/src/animator/SkPathParts.cpp b/src/animator/SkPathParts.cpp
index efc7c3355d11242bcb80864e229ad6ea98209bd3..b5407ceeb59db8085de6eed7b264a27edba419ac 100644
--- a/src/animator/SkPathParts.cpp
+++ b/src/animator/SkPathParts.cpp
@@ -13,7 +13,7 @@
#include "SkDrawRectangle.h"
#include "SkDrawPath.h"
-SkPathPart::SkPathPart() : fPath(NULL) {
+SkPathPart::SkPathPart() : fPath(nullptr) {
}
void SkPathPart::dirty() {
@@ -25,7 +25,7 @@ SkDisplayable* SkPathPart::getParent() const {
}
bool SkPathPart::setParent(SkDisplayable* parent) {
- SkASSERT(parent != NULL);
+ SkASSERT(parent != nullptr);
if (parent->isPath() == false)
return true;
fPath = (SkDrawPath*) parent;
@@ -305,11 +305,11 @@ const SkMemberInfo SkAddPath::fInfo[] = {
DEFINE_GET_MEMBER(SkAddPath);
-SkAddPath::SkAddPath() : matrix(NULL), path(NULL) {
+SkAddPath::SkAddPath() : matrix(nullptr), path(nullptr) {
}
bool SkAddPath::add() {
- SkASSERT (path != NULL);
+ SkASSERT (path != nullptr);
if (matrix)
fPath->fPath.addPath(path->fPath, matrix->getMatrix());
else
« no previous file with comments | « src/animator/SkParseSVGPath.cpp ('k') | src/animator/SkPostParts.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698