Index: gm/glyph_pos.cpp |
diff --git a/gm/glyph_pos.cpp b/gm/glyph_pos.cpp |
index e57f5c6767815091ac545cd7d4afde379f091fac..15229b8dab1e68c928b7a96ce0a1479d67593a2a 100644 |
--- a/gm/glyph_pos.cpp |
+++ b/gm/glyph_pos.cpp |
@@ -138,7 +138,7 @@ protected: |
if (drawRef) { |
SkScalar widths[sizeof(kText) - 1]; |
- paint.getTextWidths(kText, sizeof(kText) - 1, widths, NULL); |
+ paint.getTextWidths(kText, sizeof(kText) - 1, widths, nullptr); |
paint.setStrokeWidth(0.0f); |
paint.setStyle(SkPaint::kStroke_Style); |