Index: src/gpu/text/GrTextUtils.cpp |
diff --git a/src/gpu/text/GrTextUtils.cpp b/src/gpu/text/GrTextUtils.cpp |
index c368c214e18692c633404df51c54e8d7ef1f14ba..3616bcada12725bac7c09449fb5ca158de7899dd 100644 |
--- a/src/gpu/text/GrTextUtils.cpp |
+++ b/src/gpu/text/GrTextUtils.cpp |
@@ -260,12 +260,10 @@ |
SkPaint::GlyphCacheProc glyphCacheProc = skPaint.getGlyphCacheProc(true); |
SkAutoDescriptor desc; |
- SkScalerContextEffects effects; |
// We apply the fake-gamma by altering the distance in the shader, so we ignore the |
// passed-in scaler context flags. (It's only used when we fall-back to bitmap text). |
- skPaint.getScalerContextDescriptor(&effects, &desc, props, SkPaint::kNone_ScalerContextFlags, |
- nullptr); |
- SkGlyphCache* origPaintCache = SkGlyphCache::DetachCache(skPaint.getTypeface(), effects, |
+ skPaint.getScalerContextDescriptor(&desc, props, SkPaint::kNone_ScalerContextFlags, nullptr); |
+ SkGlyphCache* origPaintCache = SkGlyphCache::DetachCache(skPaint.getTypeface(), |
desc.getDesc()); |
SkTArray<SkScalar> positions; |