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