Index: gm/etc1bitmap.cpp |
diff --git a/gm/etc1bitmap.cpp b/gm/etc1bitmap.cpp |
index 363bd4419c44209b32cf14ca43c86992ef06889a..11a700eabc0206ead378e324ea525b51a9ae6b8b 100644 |
--- a/gm/etc1bitmap.cpp |
+++ b/gm/etc1bitmap.cpp |
@@ -98,7 +98,7 @@ protected: |
SkString filename = GetResourcePath("mandrill_128."); |
filename.append(this->fileExtension()); |
SkAutoTUnref<SkData> fileData(SkData::NewFromFileName(filename.c_str())); |
- if (NULL == fileData) { |
+ if (nullptr == fileData) { |
SkDebugf("Could not open the file. Did you forget to set the resourcePath?\n"); |
return; |
} |
@@ -182,7 +182,7 @@ protected: |
SkBitmap bm; |
SkString pkmFilename = GetResourcePath("mandrill_128.pkm"); |
SkAutoDataUnref fileData(SkData::NewFromFileName(pkmFilename.c_str())); |
- if (NULL == fileData) { |
+ if (nullptr == fileData) { |
SkDebugf("Could not open the file. Did you forget to set the resourcePath?\n"); |
return; |
} |