Index: src/core/SkAdvancedTypefaceMetrics.h |
diff --git a/src/core/SkAdvancedTypefaceMetrics.h b/src/core/SkAdvancedTypefaceMetrics.h |
index 37434a3912d63095a5456e9827e3af29240b3fd2..44a6854bd5eda081ff7d09a7e5fd9cacf497af1c 100644 |
--- a/src/core/SkAdvancedTypefaceMetrics.h |
+++ b/src/core/SkAdvancedTypefaceMetrics.h |
@@ -25,7 +25,19 @@ |
class SkAdvancedTypefaceMetrics : public SkRefCnt { |
public: |
- |
+ |
+ SkAdvancedTypefaceMetrics() |
+ : fType(SkAdvancedTypefaceMetrics::kOther_Font) |
+ , fFlags(SkAdvancedTypefaceMetrics::kEmpty_FontFlag) |
+ , fLastGlyphID(0) |
+ , fEmSize(0) |
+ , fStyle(0) |
+ , fItalicAngle(0) |
+ , fAscent(0) |
+ , fDescent(0) |
+ , fStemV(0) |
+ , fCapHeight(0) |
+ , fBBox(SkIRect::MakeEmpty()) {} |
SkString fFontName; |