Index: gm/typeface.cpp |
diff --git a/gm/typeface.cpp b/gm/typeface.cpp |
index b8f54abe3720c5455ab92ede1627ac2138a760a3..d88efa51bf50edbad15489461a9cbdbfe8635729 100644 |
--- a/gm/typeface.cpp |
+++ b/gm/typeface.cpp |
@@ -135,7 +135,7 @@ protected: |
const size_t textLen = strlen(text); |
SkScalar x = SkIntToScalar(10); |
- SkScalar dy = paint.getFontMetrics(NULL); |
+ SkScalar dy = paint.getFontMetrics(nullptr); |
SkScalar y = dy; |
if (fApplyKerning) { |