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

Unified Diff: src/ports/SkFontConfigInterface_direct.cpp

Issue 2000253005: Use nullptr instead of 0 in call to FontConfig. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ports/SkFontConfigInterface_direct.cpp
diff --git a/src/ports/SkFontConfigInterface_direct.cpp b/src/ports/SkFontConfigInterface_direct.cpp
index d6fa96a46cfa5c418516a860edbfc9af9937a385..ccea794e1c76983ed3770439c7bf1094435b081a 100644
--- a/src/ports/SkFontConfigInterface_direct.cpp
+++ b/src/ports/SkFontConfigInterface_direct.cpp
@@ -632,7 +632,7 @@ bool SkFontConfigInterfaceDirect::matchFamilyName(const char familyName[],
}
FcResult result;
- FcFontSet* font_set = FcFontSort(0, pattern, 0, 0, &result);
+ FcFontSet* font_set = FcFontSort(nullptr, pattern, 0, nullptr, &result);
if (!font_set) {
FcPatternDestroy(pattern);
return false;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698