Index: src/fonts/SkFontMgr_fontconfig.cpp |
diff --git a/src/fonts/SkFontMgr_fontconfig.cpp b/src/fonts/SkFontMgr_fontconfig.cpp |
index c56e065509fffacd0359cdaa534e27b0fa320c5b..a7f81281c32fffc53f49c52e9a794558690241b7 100644 |
--- a/src/fonts/SkFontMgr_fontconfig.cpp |
+++ b/src/fonts/SkFontMgr_fontconfig.cpp |
@@ -300,7 +300,7 @@ |
} |
// TODO should the caller give us the style or should we get it from freetype? |
- SkFontStyle style; |
+ SkTypeface::Style style = SkTypeface::kNormal; |
bool isFixedWidth = false; |
if (!SkTypeface_FreeType::ScanFont(stream, 0, NULL, &style, &isFixedWidth)) { |
return NULL; |