Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1559)

Unified Diff: tools/create_test_font.cpp

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 EDT Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/chrome_fuzz.cpp ('k') | tools/filtermain.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/create_test_font.cpp
diff --git a/tools/create_test_font.cpp b/tools/create_test_font.cpp
index 9193ba257e2bfd864d2eadc4ce510d8d7cfa4c8a..1de08ac0381c198492ceb75ba566a6a1b23d3b74 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]);
}
« no previous file with comments | « tools/chrome_fuzz.cpp ('k') | tools/filtermain.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698