Chromium Code Reviews| Index: src/gpu/text/GrStencilAndCoverTextContext.cpp |
| diff --git a/src/gpu/text/GrStencilAndCoverTextContext.cpp b/src/gpu/text/GrStencilAndCoverTextContext.cpp |
| index 151858b8b99de19899a058dfaa6ebbb3d5ad107e..1b9b047a9d35967eca6675833d3db42d14842d87 100644 |
| --- a/src/gpu/text/GrStencilAndCoverTextContext.cpp |
| +++ b/src/gpu/text/GrStencilAndCoverTextContext.cpp |
| @@ -539,10 +539,11 @@ GrPathRange* GrStencilAndCoverTextContext::TextRun::createGlyphs(GrContext* ctx) |
| ctx->resourceProvider()->findAndRefResourceByUniqueKey(fGlyphPathsKey)); |
| if (nullptr == glyphs) { |
| if (fUsingRawGlyphPaths) { |
| - glyphs = ctx->resourceProvider()->createGlyphs(fFont.getTypeface(), nullptr, fStroke); |
| + glyphs = ctx->resourceProvider()->createGlyphs(fFont.getTypeface(),{},nullptr, fStroke); |
|
bungeman-skia
2016/04/08 14:42:06
This is kind of like passing 'false', at the call
reed1
2016/04/08 19:37:20
Done.
|
| } else { |
| SkGlyphCache* cache = this->getGlyphCache(); |
| glyphs = ctx->resourceProvider()->createGlyphs(cache->getScalerContext()->getTypeface(), |
| + cache->getScalerContext()->getEffects(), |
| &cache->getDescriptor(), |
| fStroke); |
| } |