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

Unified Diff: src/xml/SkXMLPullParser.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/xml/SkXMLParser.cpp ('k') | src/xml/SkXMLWriter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/xml/SkXMLPullParser.cpp
diff --git a/src/xml/SkXMLPullParser.cpp b/src/xml/SkXMLPullParser.cpp
index ed042281a73f8a558ba9789b16b9c5d3576ae697..34ad282cc7a145ddf521cabcc1d9dbbe9c21758d 100644
--- a/src/xml/SkXMLPullParser.cpp
+++ b/src/xml/SkXMLPullParser.cpp
@@ -16,13 +16,13 @@ static void reset(SkXMLPullParser::Curr* curr)
curr->fIsWhitespace = false;
}
-SkXMLPullParser::SkXMLPullParser() : fStream(NULL)
+SkXMLPullParser::SkXMLPullParser() : fStream(nullptr)
{
fCurr.fEventType = ERROR;
fDepth = -1;
}
-SkXMLPullParser::SkXMLPullParser(SkStream* stream) : fStream(NULL)
+SkXMLPullParser::SkXMLPullParser(SkStream* stream) : fStream(nullptr)
{
fCurr.fEventType = ERROR;
fDepth = 0;
@@ -32,7 +32,7 @@ SkXMLPullParser::SkXMLPullParser(SkStream* stream) : fStream(NULL)
SkXMLPullParser::~SkXMLPullParser()
{
- this->setStream(NULL);
+ this->setStream(nullptr);
}
SkStream* SkXMLPullParser::setStream(SkStream* stream)
@@ -89,7 +89,7 @@ const char* SkXMLPullParser::getName()
case END_TAG:
return fCurr.fName;
default:
- return NULL;
+ return nullptr;
}
}
@@ -100,7 +100,7 @@ const char* SkXMLPullParser::getText()
case IGNORABLE_WHITESPACE:
return fCurr.fName;
default:
- return NULL;
+ return nullptr;
}
}
« no previous file with comments | « src/xml/SkXMLParser.cpp ('k') | src/xml/SkXMLWriter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698