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

Unified Diff: tools/skhello.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 | « tools/skdiff_utils.cpp ('k') | tools/skpdiff/SkCLImageDiffer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/skhello.cpp
diff --git a/tools/skhello.cpp b/tools/skhello.cpp
index b46ba084abb1fb26564873fe18057063219bb422..5614a56f5d5d5c55684e51d093250c3e17054c3b 100644
--- a/tools/skhello.cpp
+++ b/tools/skhello.cpp
@@ -39,7 +39,7 @@ static bool do_surface(int w, int h, const char path[], const char text[],
SkAutoTUnref<SkImage> image(surface->newImageSnapshot());
SkAutoDataUnref data(image->encode());
- if (NULL == data.get()) {
+ if (nullptr == data.get()) {
return false;
}
SkFILEWStream stream(path);
@@ -52,7 +52,7 @@ static bool do_document(int w, int h, const char path[], const char text[],
if (doc.get()) {
SkScalar width = SkIntToScalar(w);
SkScalar height = SkIntToScalar(h);
- doDraw(doc->beginPage(width, height, NULL), paint, text);
+ doDraw(doc->beginPage(width, height, nullptr), paint, text);
return true;
}
return false;
« no previous file with comments | « tools/skdiff_utils.cpp ('k') | tools/skpdiff/SkCLImageDiffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698