diff options
Diffstat (limited to 'tools/skhello.cpp')
-rw-r--r-- | tools/skhello.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/skhello.cpp b/tools/skhello.cpp index b46ba084ab..5614a56f5d 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; |