Index: src/gpu/text/GrAtlasTextBlob.cpp |
diff --git a/src/gpu/text/GrAtlasTextBlob.cpp b/src/gpu/text/GrAtlasTextBlob.cpp |
index 4b339d4adbd4c7302fcab551875378aea17ae9ef..afbff46994a30f7a175da8b1674ff06f25533902 100644 |
--- a/src/gpu/text/GrAtlasTextBlob.cpp |
+++ b/src/gpu/text/GrAtlasTextBlob.cpp |
@@ -59,9 +59,9 @@ SkGlyphCache* GrAtlasTextBlob::setupCache(int runIndex, |
// if we have an override descriptor for the run, then we should use that |
SkAutoDescriptor* desc = run->fOverrideDescriptor.get() ? run->fOverrideDescriptor.get() : |
&run->fDescriptor; |
- skPaint.getScalerContextDescriptor(desc, props, scalerContextFlags, viewMatrix); |
+ skPaint.getScalerContextDescriptor(&run->fEffects, desc, props, scalerContextFlags, viewMatrix); |
run->fTypeface.reset(SkSafeRef(skPaint.getTypeface())); |
- return SkGlyphCache::DetachCache(run->fTypeface, desc->getDesc()); |
+ return SkGlyphCache::DetachCache(run->fTypeface, run->fEffects, desc->getDesc()); |
} |
void GrAtlasTextBlob::appendGlyph(int runIndex, |