summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
Diffstat (limited to 'skia')
-rw-r--r--skia/ext/SkFontHost_fontconfig.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/skia/ext/SkFontHost_fontconfig.cpp b/skia/ext/SkFontHost_fontconfig.cpp
index 44ad79f..470aa7c 100644
--- a/skia/ext/SkFontHost_fontconfig.cpp
+++ b/skia/ext/SkFontHost_fontconfig.cpp
@@ -132,8 +132,6 @@ SkTypeface* SkFontHost::CreateTypeface(const SkTypeface* familyFace,
}
} else if (familyName) {
resolved_family_name = familyName;
- } else {
- return NULL;
}
bool bold = style & SkTypeface::kBold;