Fix 5492.
git-svn-id: http://skia.googlecode.com/svn/trunk@5493 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
ae30f56019
commit
0996e831ce
@ -491,7 +491,7 @@ static void applyLUTToA8Glyph(const SkGlyph& glyph, const uint8_t* lut) {
|
||||
void SkScalerContext::getImage(const SkGlyph& origGlyph) {
|
||||
const SkGlyph* glyph = &origGlyph;
|
||||
SkGlyph tmpGlyph;
|
||||
SkMaskGamma::PreBlend* maskPreBlend = fMaskPreBlend.fParent ? &fMaskPreBlend : NULL;
|
||||
SkMaskGamma::PreBlend* maskPreBlend = fMaskPreBlend.fG ? &fMaskPreBlend : NULL;
|
||||
|
||||
if (fMaskFilter) { // restore the prefilter bounds
|
||||
tmpGlyph.init(origGlyph.fID);
|
||||
|
Loading…
Reference in New Issue
Block a user