Use nullptr instead of 0 in call to FontConfig.

Review-Url: https://codereview.chromium.org/2000253005
This commit is contained in:
bungeman 2016-05-24 08:08:20 -07:00 committed by Commit bot
parent 2cb49bd7e9
commit 6d195b22bf

View File

@ -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;