diff options
author | 2015-08-27 07:41:13 -0700 | |
---|---|---|
committer | 2015-08-27 07:41:16 -0700 | |
commit | 96fcdcc219d2a0d3579719b84b28bede76efba64 (patch) | |
tree | 0ec5ea0193d8292df8bf5ed9dd8498a5eb5763dd /tools/create_test_font.cpp | |
parent | 435af2f736c85c3274a0c6760a3523810750d237 (diff) |
Style Change: NULL->nullptr
DOCS_PREVIEW= https://skia.org/?cl=1316233002
Review URL: https://codereview.chromium.org/1316233002
Diffstat (limited to 'tools/create_test_font.cpp')
-rw-r--r-- | tools/create_test_font.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/create_test_font.cpp b/tools/create_test_font.cpp index 9193ba257e..1de08ac038 100644 --- a/tools/create_test_font.cpp +++ b/tools/create_test_font.cpp @@ -327,7 +327,7 @@ static int written_index(const FontDesc& fontDesc) { } static void generate_fonts() { - FILE* out = NULL; + FILE* out = nullptr; for (int index = 0; index < gFontsCount; ++index) { FontDesc& fontDesc = gFonts[index]; if ((index & 3) == 0) { @@ -391,7 +391,7 @@ static void generate_index(const char* defaultName) { fprintf(out, " { %sPoints, %sVerbs, %sCharCodes,\n" " %sCharCodesCount, %sWidths,\n" - " %sMetrics, \"Toy %s\", SkTypeface::k%s, NULL\n" + " %sMetrics, \"Toy %s\", SkTypeface::k%s, nullptr\n" " },\n", strip, strip, strip, strip, strip, strip, name, gStyleName[writ.fStyle]); } |