Index: gm/fontscaler.cpp |
diff --git a/gm/fontscaler.cpp b/gm/fontscaler.cpp |
index 608747856630cf3b5b42c5ac4231392f4c0fa29d..69cf346c4d2826d1c69825a4b3b5158f798f125b 100644 |
--- a/gm/fontscaler.cpp |
+++ b/gm/fontscaler.cpp |
@@ -73,7 +73,7 @@ protected: |
for (int ps = 6; ps <= 22; ps++) { |
paint.setTextSize(SkIntToScalar(ps)); |
canvas->drawText(text, textLen, x, y, paint); |
- y += paint.getFontMetrics(NULL); |
+ y += paint.getFontMetrics(nullptr); |
} |
} |
canvas->translate(0, SkIntToScalar(360)); |