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

Unified Diff: tests/Reader32Test.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 | « tests/ReadWriteAlphaTest.cpp ('k') | tests/RecordDrawTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/Reader32Test.cpp
diff --git a/tests/Reader32Test.cpp b/tests/Reader32Test.cpp
index cfa08b3c1f407d5410e77e2e70d4e757c99fb6b8..c49e57c330ecbfda3c208496ebc35ac96fc29eae 100644
--- a/tests/Reader32Test.cpp
+++ b/tests/Reader32Test.cpp
@@ -35,8 +35,8 @@ static void assert_empty(skiatest::Reporter* reporter, const SkReader32& reader)
DEF_TEST(Reader32, reporter) {
SkReader32 reader;
assert_empty(reporter, reader);
- REPORTER_ASSERT(reporter, NULL == reader.base());
- REPORTER_ASSERT(reporter, NULL == reader.peek());
+ REPORTER_ASSERT(reporter, nullptr == reader.base());
+ REPORTER_ASSERT(reporter, nullptr == reader.peek());
size_t i;
@@ -74,8 +74,8 @@ DEF_TEST(Reader32, reporter) {
reader.read(buffer, sizeof(data2));
REPORTER_ASSERT(reporter, !memcmp(data2, buffer, sizeof(data2)));
- reader.setMemory(NULL, 0);
+ reader.setMemory(nullptr, 0);
assert_empty(reporter, reader);
- REPORTER_ASSERT(reporter, NULL == reader.base());
- REPORTER_ASSERT(reporter, NULL == reader.peek());
+ REPORTER_ASSERT(reporter, nullptr == reader.base());
+ REPORTER_ASSERT(reporter, nullptr == reader.peek());
}
« no previous file with comments | « tests/ReadWriteAlphaTest.cpp ('k') | tests/RecordDrawTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698