Index: tools/lua/lua_pictures.cpp |
diff --git a/tools/lua/lua_pictures.cpp b/tools/lua/lua_pictures.cpp |
index 315e4bfb8972524be20725a76a462b0489e1ff8e..6fa5813d77818685f531ea5afe0da7d298e9987a 100644 |
--- a/tools/lua/lua_pictures.cpp |
+++ b/tools/lua/lua_pictures.cpp |
@@ -42,7 +42,7 @@ DEFINE_bool2(quiet, q, false, "Silence all non-error related output"); |
static SkPicture* load_picture(const char path[]) { |
SkAutoTDelete<SkStream> stream(SkStream::NewFromFile(path)); |
- SkPicture* pic = NULL; |
+ SkPicture* pic = nullptr; |
if (stream.get()) { |
pic = SkPicture::CreateFromStream(stream.get(), &sk_tools::LazyDecodeBitmap); |
} |
@@ -89,7 +89,7 @@ int tool_main(int argc, char** argv) { |
for (int i = 0; i < FLAGS_luaFile.count(); ++i) { |
SkAutoDataUnref data(SkData::NewFromFileName(FLAGS_luaFile[i])); |
- if (NULL == data.get()) { |
+ if (nullptr == data.get()) { |
data.reset(SkData::NewEmpty()); |
} |
if (!FLAGS_quiet) { |