| Index: tools/render_pdfs_main.cpp
|
| diff --git a/tools/render_pdfs_main.cpp b/tools/render_pdfs_main.cpp
|
| index 9b80ef4d500565d12bfc7d0a439c562daebb0e8f..b182d8b408a25752b1fd5e38dd78ee165ac92040 100644
|
| --- a/tools/render_pdfs_main.cpp
|
| +++ b/tools/render_pdfs_main.cpp
|
| @@ -120,13 +120,13 @@ static SkWStream* open_stream(const SkString& outputDir,
|
|
|
| SkString outputPath;
|
| if (!make_output_filepath(&outputPath, outputDir, inputFilename)) {
|
| - return NULL;
|
| + return nullptr;
|
| }
|
|
|
| SkAutoTDelete<SkFILEWStream> stream(new SkFILEWStream(outputPath.c_str()));
|
| if (!stream.get() || !stream->isValid()) {
|
| SkDebugf("Could not write to file %s\n", outputPath.c_str());
|
| - return NULL;
|
| + return nullptr;
|
| }
|
|
|
| return stream.detach();
|
| @@ -222,7 +222,7 @@ int tool_main_core(int argc, char** argv) {
|
|
|
| SkAutoTUnref<SkPicture> picture(
|
| SkPicture::CreateFromStream(&inputStream));
|
| - if (NULL == picture.get()) {
|
| + if (nullptr == picture.get()) {
|
| SkDebugf("Could not read an SkPicture from %s\n",
|
| files[i].c_str());
|
| ++failures;
|
|
|