Index: tests/FontNamesTest.cpp |
diff --git a/tests/FontNamesTest.cpp b/tests/FontNamesTest.cpp |
index e4966b07a7c3af1eef8cf84da7ce9dc0ebe3684b..5c314e4e7e255020ac31e7ff8bb76e6d6c5e4d67 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()); |
} |
} |