Index: gm/fontscalerdistortable.cpp |
diff --git a/gm/fontscalerdistortable.cpp b/gm/fontscalerdistortable.cpp |
index 715f32169c75e7a8c4b57b090c71293f4c6202a9..a207f967fd62c4bb5ede6dfd173edcd302ca3dbd 100644 |
--- a/gm/fontscalerdistortable.cpp |
+++ b/gm/fontscalerdistortable.cpp |
@@ -75,7 +75,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)); |