diff options
Diffstat (limited to 'src/core/SkScalerContext.cpp')
-rw-r--r-- | src/core/SkScalerContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkScalerContext.cpp b/src/core/SkScalerContext.cpp index f98969cec5..697917ab04 100644 --- a/src/core/SkScalerContext.cpp +++ b/src/core/SkScalerContext.cpp @@ -383,7 +383,7 @@ void SkScalerContext::getImage(const SkGlyph& origGlyph) { SkGlyph tmpGlyph; if (fMaskFilter) { // restore the prefilter bounds - tmpGlyph.fID = origGlyph.fID; + tmpGlyph.init(origGlyph.fID); // need the original bounds, sans our maskfilter SkMaskFilter* mf = fMaskFilter; |