aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkScalerContext.cpp
diff options
context:
space:
mode:
authorGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-11 18:47:43 +0000
committerGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-11 18:47:43 +0000
commit0996e831ce7e30b2f55b5a37897cd22e6f989ecc (patch)
tree4c443f64c58d05d9745b48f953c0e739b8f3e318 /src/core/SkScalerContext.cpp
parentae30f5601940c78f4537ee48a6316cfac6740712 (diff)
Fix 5492.
git-svn-id: http://skia.googlecode.com/svn/trunk@5493 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkScalerContext.cpp')
-rw-r--r--src/core/SkScalerContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkScalerContext.cpp b/src/core/SkScalerContext.cpp
index 682d1bd57a..59b7771ac4 100644
--- a/src/core/SkScalerContext.cpp
+++ b/src/core/SkScalerContext.cpp
@@ -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);