Index: src/ports/SkFontConfigParser_android.h |
diff --git a/src/ports/SkFontConfigParser_android.h b/src/ports/SkFontConfigParser_android.h |
index 6dbf38359097a47539642ee10e337619ed5275bc..dd856bf733da5aa0e234a8b9d5062d9441be3dc2 100644 |
--- a/src/ports/SkFontConfigParser_android.h |
+++ b/src/ports/SkFontConfigParser_android.h |
@@ -62,11 +62,12 @@ typedef uint32_t FontVariant; |
// Must remain trivially movable (can be memmoved). |
struct FontFileInfo { |
- FontFileInfo() : fIndex(0), fWeight(0) { } |
+ FontFileInfo() : fIndex(0), fWeight(0), fStyle(Style::kAuto) { } |
SkString fFileName; |
int fIndex; |
int fWeight; |
+ enum class Style { kAuto, kNormal, kItalic } fStyle; |
}; |
/** |