aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/glyph_pos.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/glyph_pos.cpp')
-rw-r--r--gm/glyph_pos.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/glyph_pos.cpp b/gm/glyph_pos.cpp
index e57f5c6767..15229b8dab 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);