Use nullptr instead of 0 in call to FontConfig.
Review-Url: https://codereview.chromium.org/2000253005
This commit is contained in:
parent
2cb49bd7e9
commit
6d195b22bf
@ -632,7 +632,7 @@ bool SkFontConfigInterfaceDirect::matchFamilyName(const char familyName[],
|
|||||||
}
|
}
|
||||||
|
|
||||||
FcResult result;
|
FcResult result;
|
||||||
FcFontSet* font_set = FcFontSort(0, pattern, 0, 0, &result);
|
FcFontSet* font_set = FcFontSort(nullptr, pattern, 0, nullptr, &result);
|
||||||
if (!font_set) {
|
if (!font_set) {
|
||||||
FcPatternDestroy(pattern);
|
FcPatternDestroy(pattern);
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user