Index: gm/verttext.cpp |
diff --git a/gm/verttext.cpp b/gm/verttext.cpp |
index 9039685206b01c6311f82abfceab5d2e68cea32b..37cf37cbad83a95646708755652c8f2bc2e46354 100644 |
--- a/gm/verttext.cpp |
+++ b/gm/verttext.cpp |
@@ -70,7 +70,7 @@ protected: |
p.setColor(0xFF0000FF); |
SkScalar adv[gLen]; |
- int numChars = paint.getTextWidths(gText, gLen, adv, NULL); |
+ int numChars = paint.getTextWidths(gText, gLen, adv, nullptr); |
for (int i = 0; i < numChars; ++i) { |
canvas->drawCircle(x, y, SK_Scalar1 * 3 / 2, p); |
if (paint.isVerticalText()) { |