Index: tests/QuickRejectTest.cpp |
diff --git a/tests/QuickRejectTest.cpp b/tests/QuickRejectTest.cpp |
index c17aae9e6eec16241cb25c63970794daac125fa9..7eb80f1712b134cf67ed30e3a632caea4053175e 100644 |
--- a/tests/QuickRejectTest.cpp |
+++ b/tests/QuickRejectTest.cpp |
@@ -98,7 +98,7 @@ static void test_layers(skiatest::Reporter* reporter) { |
// Test that saveLayer updates quickReject |
SkRect bounds = SkRect::MakeLTRB(50, 50, 70, 70); |
- canvas.saveLayer(&bounds, NULL); |
+ canvas.saveLayer(&bounds, nullptr); |
REPORTER_ASSERT(reporter, true == canvas.quickReject(SkRect::MakeWH(10, 10))); |
REPORTER_ASSERT(reporter, false == canvas.quickReject(SkRect::MakeWH(60, 60))); |
} |