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

Unified Diff: src/utils/SkRTConf.cpp

Issue 544233002: "NULL !=" = NULL (Closed) Base URL: https://skia.googlesource.com/skia.git@are
Patch Set: rebase Created 6 years, 3 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 | « src/utils/SkPatchUtils.cpp ('k') | src/utils/SkTextureCompressor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/SkRTConf.cpp
diff --git a/src/utils/SkRTConf.cpp b/src/utils/SkRTConf.cpp
index 8ca998109454bc6d4044ce260c45b9d1d834216a..20b8b43b891af2d43554abfb42080c8684508816 100644
--- a/src/utils/SkRTConf.cpp
+++ b/src/utils/SkRTConf.cpp
@@ -28,7 +28,7 @@ SkRTConfRegistry::SkRTConfRegistry(): fConfs(100) {
if (commentptr == line) {
continue;
}
- if (NULL != commentptr) {
+ if (commentptr) {
*commentptr = '\0';
}
@@ -99,7 +99,7 @@ void SkRTConfRegistry::validate() const {
void SkRTConfRegistry::printAll(const char *fname) const {
SkWStream *o;
- if (NULL != fname) {
+ if (fname) {
o = new SkFILEWStream(fname);
} else {
o = new SkDebugWStream();
@@ -133,7 +133,7 @@ bool SkRTConfRegistry::hasNonDefault() const {
void SkRTConfRegistry::printNonDefault(const char *fname) const {
SkWStream *o;
- if (NULL != fname) {
+ if (fname) {
o = new SkFILEWStream(fname);
} else {
o = new SkDebugWStream();
« no previous file with comments | « src/utils/SkPatchUtils.cpp ('k') | src/utils/SkTextureCompressor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698