Index: src/core/SkScalerContext.cpp |
diff --git a/src/core/SkScalerContext.cpp b/src/core/SkScalerContext.cpp |
index a3ff95ca0a434d31d61a17f5ba641b67a9c6ad44..e3b5d80b3dece94bfefe29e764173b7e905c15ca 100644 |
--- a/src/core/SkScalerContext.cpp |
+++ b/src/core/SkScalerContext.cpp |
@@ -482,7 +482,7 @@ void SkScalerContext::getImage(const SkGlyph& origGlyph) { |
SkMask::kARGB32_Format != origGlyph.fMaskFormat); |
if (fMaskFilter) { // restore the prefilter bounds |
- tmpGlyph.init(origGlyph.fID); |
+ tmpGlyph.initGlyphIdFrom(origGlyph); |
// need the original bounds, sans our maskfilter |
SkMaskFilter* mf = fMaskFilter; |