Index: tests/XfermodeTest.cpp |
diff --git a/tests/XfermodeTest.cpp b/tests/XfermodeTest.cpp |
index 34f5233fcf4e5dda849f2a14649277aedaf195ef..294d63db59adb490f4045d2752f1660c467bd8ce 100644 |
--- a/tests/XfermodeTest.cpp |
+++ b/tests/XfermodeTest.cpp |
@@ -35,7 +35,7 @@ static void test_asMode(skiatest::Reporter* reporter) { |
} |
static void test_IsMode(skiatest::Reporter* reporter) { |
- REPORTER_ASSERT(reporter, SkXfermode::IsMode(NULL, |
+ REPORTER_ASSERT(reporter, SkXfermode::IsMode(nullptr, |
SkXfermode::kSrcOver_Mode)); |
for (int i = 0; i <= SkXfermode::kLastMode; ++i) { |
@@ -46,7 +46,7 @@ static void test_IsMode(skiatest::Reporter* reporter) { |
SkSafeUnref(xfer); |
if (SkXfermode::kSrcOver_Mode != mode) { |
- REPORTER_ASSERT(reporter, !SkXfermode::IsMode(NULL, mode)); |
+ REPORTER_ASSERT(reporter, !SkXfermode::IsMode(nullptr, mode)); |
} |
} |
} |