Index: src/gpu/text/GrStencilAndCoverTextContext.cpp |
diff --git a/src/gpu/text/GrStencilAndCoverTextContext.cpp b/src/gpu/text/GrStencilAndCoverTextContext.cpp |
index 151858b8b99de19899a058dfaa6ebbb3d5ad107e..3e9d4df5ea7b118495ac8f193ec5a9a287b93acb 100644 |
--- a/src/gpu/text/GrStencilAndCoverTextContext.cpp |
+++ b/src/gpu/text/GrStencilAndCoverTextContext.cpp |
@@ -631,7 +631,7 @@ 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_FontWeightFlag, nullptr); |
} |
return fDetachedGlyphCache; |
} |