aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/FontNamesTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FontNamesTest.cpp')
-rw-r--r--tests/FontNamesTest.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/FontNamesTest.cpp b/tests/FontNamesTest.cpp
index e4966b07a7..5c314e4e7e 100644
--- a/tests/FontNamesTest.cpp
+++ b/tests/FontNamesTest.cpp
@@ -152,10 +152,6 @@ static void test_systemfonts(skiatest::Reporter* reporter, bool verbose) {
set->getStyle(j, &fs, &sname);
SkAutoTUnref<SkTypeface> typeface(set->createTypeface(j));
- if (NULL == typeface.get()) {
- //TODO: SkFontMgr_fontconfig always returns NULL?
- continue;
- }
SkString familyName;
typeface->getFamilyName(&familyName);
@@ -169,7 +165,7 @@ static void test_systemfonts(skiatest::Reporter* reporter, bool verbose) {
while (familyNamesIter->next(&familyNameLocalized)) {
if (verbose) {
SkDebugf("(%s) <%s>\n", familyNameLocalized.fString.c_str(),
- familyNameLocalized.fLanguage.c_str());
+ familyNameLocalized.fLanguage.c_str());
}
}