Index: tests/DashPathEffectTest.cpp |
diff --git a/tests/DashPathEffectTest.cpp b/tests/DashPathEffectTest.cpp |
index 228aee9031881bc2c33ee05d59972ec902518d0e..d7c3d1d8d4ed70a49e2b4c8562109b30ee463999 100644 |
--- a/tests/DashPathEffectTest.cpp |
+++ b/tests/DashPathEffectTest.cpp |
@@ -19,8 +19,8 @@ DEF_TEST(DashPathEffectTest_crbug_348821, r) { |
SkScalar phase = SK_ScalarInfinity; // Used to force the bad fInitialDashLength = -1 path. |
SkAutoTUnref<SkDashPathEffect> dash(SkDashPathEffect::Create(intervals, count, phase)); |
- // NULL -> refuses to work with flattening framework. |
- REPORTER_ASSERT(r, dash->getFactory() != NULL); |
+ // nullptr -> refuses to work with flattening framework. |
+ REPORTER_ASSERT(r, dash->getFactory() != nullptr); |
SkWriteBuffer buffer; |
buffer.writeFlattenable(dash); |