Index: src/gpu/text/GrAtlasTextBlob.cpp |
diff --git a/src/gpu/text/GrAtlasTextBlob.cpp b/src/gpu/text/GrAtlasTextBlob.cpp |
index f2ca3d2186ebe8a9efbe8635967336e5d5a904dd..df56c359d11a556bd56313d54e28798093a5c95c 100644 |
--- a/src/gpu/text/GrAtlasTextBlob.cpp |
+++ b/src/gpu/text/GrAtlasTextBlob.cpp |
@@ -51,15 +51,15 @@ GrAtlasTextBlob* GrAtlasTextBlob::Create(GrMemoryPool* pool, int glyphCount, int |
SkGlyphCache* GrAtlasTextBlob::setupCache(int runIndex, |
const SkSurfaceProps& props, |
+ SkPaint::FakeGamma fakeGamma, |
const SkPaint& skPaint, |
- const SkMatrix* viewMatrix, |
- bool noGamma) { |
+ const SkMatrix* viewMatrix) { |
GrAtlasTextBlob::Run* run = &fRuns[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, viewMatrix, noGamma); |
+ skPaint.getScalerContextDescriptor(desc, props, fakeGamma, viewMatrix); |
run->fTypeface.reset(SkSafeRef(skPaint.getTypeface())); |
return SkGlyphCache::DetachCache(run->fTypeface, desc->getDesc()); |
} |