Index: src/core/SkGlyph.h |
diff --git a/src/core/SkGlyph.h b/src/core/SkGlyph.h |
index 469985959cc867d825d31810a57556bb13c2da3f..f2cfa2dbf93c040aaa9f41281046d6b77af66237 100644 |
--- a/src/core/SkGlyph.h |
+++ b/src/core/SkGlyph.h |
@@ -47,6 +47,8 @@ class SkGlyph { |
uint8_t fMaskFormat; |
int8_t fRsbDelta, fLsbDelta; // used by auto-kerning |
int8_t fForceBW; |
+ mutable bool fImageIsSet; |
+ mutable bool fPathIsSet; |
void initWithGlyphID(uint32_t glyph_id) { |
this->initCommon(MakeID(glyph_id)); |
@@ -135,6 +137,8 @@ class SkGlyph { |
fPath = NULL; |
fMaskFormat = MASK_FORMAT_UNKNOWN; |
fForceBW = 0; |
+ fImageIsSet = false; |
+ fPathIsSet = false; |
} |
static unsigned ID2Code(uint32_t id) { |