Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Unified Diff: tools/picture_utils.cpp

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 EDT Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/picture_utils.h ('k') | tools/pinspect.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/picture_utils.cpp
diff --git a/tools/picture_utils.cpp b/tools/picture_utils.cpp
index 5c120b010d98ca56ebd7fe079eb01c0740190f36..9661daf2d0af0768b5b9c9d55eaec714c9b3a5bc 100644
--- a/tools/picture_utils.cpp
+++ b/tools/picture_utils.cpp
@@ -16,7 +16,7 @@
namespace sk_tools {
void force_all_opaque(const SkBitmap& bitmap) {
- SkASSERT(NULL == bitmap.getTexture());
+ SkASSERT(nullptr == bitmap.getTexture());
SkASSERT(kN32_SkColorType == bitmap.colorType());
if (bitmap.getTexture() || kN32_SkColorType == bitmap.colorType()) {
return;
@@ -31,7 +31,7 @@ namespace sk_tools {
}
void replace_char(SkString* str, const char oldChar, const char newChar) {
- if (NULL == str) {
+ if (nullptr == str) {
return;
}
for (size_t i = 0; i < str->size(); ++i) {
« no previous file with comments | « tools/picture_utils.h ('k') | tools/pinspect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698