| 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;
|
|
|