Index: src/gpu/text/GrStencilAndCoverTextContext.cpp |
diff --git a/src/gpu/text/GrStencilAndCoverTextContext.cpp b/src/gpu/text/GrStencilAndCoverTextContext.cpp |
index 151858b8b99de19899a058dfaa6ebbb3d5ad107e..f0c66979d565cdbf2cc265565163f9c778ae08cc 100644 |
--- a/src/gpu/text/GrStencilAndCoverTextContext.cpp |
+++ b/src/gpu/text/GrStencilAndCoverTextContext.cpp |
@@ -631,7 +631,8 @@ void GrStencilAndCoverTextContext::TextRun::draw(GrContext* ctx, |
SkGlyphCache* GrStencilAndCoverTextContext::TextRun::getGlyphCache() const { |
if (!fDetachedGlyphCache) { |
- fDetachedGlyphCache = fFont.detachCache(nullptr, SkPaint::FakeGamma::Off, nullptr); |
+ fDetachedGlyphCache = fFont.detachCache(nullptr, SkPaint::kNone_ScalerContextFlags, |
+ nullptr); |
} |
return fDetachedGlyphCache; |
} |