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

Unified Diff: tests/SListTest.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 | « tests/ResourceCacheTest.cpp ('k') | tests/SerializationTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/SListTest.cpp
diff --git a/tests/SListTest.cpp b/tests/SListTest.cpp
index 72a82814f9b8834a04d1143ae964e73e3447f0ea..78fcc65a27324137f39a80c84a904d051ca31143 100644
--- a/tests/SListTest.cpp
+++ b/tests/SListTest.cpp
@@ -27,7 +27,7 @@ static bool verifyEmptyList(skiatest::Reporter* reporter,
ERRORF(reporter, "%s - List count is not zero, %d instead", stage, list.getCount());
return false;
}
- if (NULL != list.head()) {
+ if (list.head()) {
ERRORF(reporter, "%s - List has elements when empty", stage);
return false;
}
@@ -55,7 +55,7 @@ static bool verifyList(skiatest::Reporter* reporter,
}
next = next->next();
}
- if (NULL != next) {
+ if (next) {
ERRORF(reporter, "%s - List too long, should be %d", stage, count);
return false;
}
« no previous file with comments | « tests/ResourceCacheTest.cpp ('k') | tests/SerializationTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698