| Index: src/gpu/text/GrStencilAndCoverTextContext.cpp
|
| diff --git a/src/gpu/text/GrStencilAndCoverTextContext.cpp b/src/gpu/text/GrStencilAndCoverTextContext.cpp
|
| index f0c66979d565cdbf2cc265565163f9c778ae08cc..a8dc20215af22b48227c5df87e3a21f67977e43f 100644
|
| --- a/src/gpu/text/GrStencilAndCoverTextContext.cpp
|
| +++ b/src/gpu/text/GrStencilAndCoverTextContext.cpp
|
| @@ -539,10 +539,13 @@ GrPathRange* GrStencilAndCoverTextContext::TextRun::createGlyphs(GrContext* ctx)
|
| ctx->resourceProvider()->findAndRefResourceByUniqueKey(fGlyphPathsKey));
|
| if (nullptr == glyphs) {
|
| if (fUsingRawGlyphPaths) {
|
| - glyphs = ctx->resourceProvider()->createGlyphs(fFont.getTypeface(), nullptr, fStroke);
|
| + SkScalerContextEffects noeffects;
|
| + glyphs = ctx->resourceProvider()->createGlyphs(fFont.getTypeface(), noeffects,
|
| + nullptr, fStroke);
|
| } else {
|
| SkGlyphCache* cache = this->getGlyphCache();
|
| glyphs = ctx->resourceProvider()->createGlyphs(cache->getScalerContext()->getTypeface(),
|
| + cache->getScalerContext()->getEffects(),
|
| &cache->getDescriptor(),
|
| fStroke);
|
| }
|
|
|