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