aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ports
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2016-05-24 08:08:20 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-24 08:08:20 -0700
commit6d195b22bf6b7eed2b1867f2742e0b829c89e8e1 (patch)
tree1be6d2c02dd82db5d8b98f1f828da93346253d53 /src/ports
parent2cb49bd7e99480f02547aa08f29b80b1bd93ca20 (diff)
Use nullptr instead of 0 in call to FontConfig.
Diffstat (limited to 'src/ports')
-rw-r--r--src/ports/SkFontConfigInterface_direct.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ports/SkFontConfigInterface_direct.cpp b/src/ports/SkFontConfigInterface_direct.cpp
index d6fa96a46c..ccea794e1c 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;