diff --git a/src/gpu/text/GrTextBlob.cpp b/src/gpu/text/GrTextBlob.cpp index 6545f84780255..783d36f721143 100644 --- a/src/gpu/text/GrTextBlob.cpp +++ b/src/gpu/text/GrTextBlob.cpp @@ -72,9 +72,7 @@ void GrTextBlob::appendGlyph(int runIndex, const SkRect& positions, GrColor color, sk_sp strike, - GrGlyph* glyph, - SkGlyphCache* cache, const SkGlyph& skGlyph, - SkScalar x, SkScalar y, SkScalar scale, bool preTransformed) { + GrGlyph* glyph, bool preTransformed) { Run& run = fRuns[runIndex]; GrMaskFormat format = glyph->fMaskFormat; diff --git a/src/gpu/text/GrTextBlob.h b/src/gpu/text/GrTextBlob.h index 686dac4eb13a9..3c16fa9b8ab50 100644 --- a/src/gpu/text/GrTextBlob.h +++ b/src/gpu/text/GrTextBlob.h @@ -177,9 +177,7 @@ class GrTextBlob : public SkNVRefCnt { const SkRect& positions, GrColor color, sk_sp strike, - GrGlyph* glyph, - SkGlyphCache*, const SkGlyph& skGlyph, - SkScalar x, SkScalar y, SkScalar scale, bool preTransformed); + GrGlyph* glyph, bool preTransformed); // Appends a glyph to the blob as a path only. void appendPathGlyph(int runIndex, const SkPath& path, diff --git a/src/gpu/text/GrTextContext.cpp b/src/gpu/text/GrTextContext.cpp index 943ce8cb4e56b..876179b27b5f3 100644 --- a/src/gpu/text/GrTextContext.cpp +++ b/src/gpu/text/GrTextContext.cpp @@ -290,8 +290,7 @@ void GrTextContext::AppendGlyph(GrTextBlob* blob, int runIndex, SkRect glyphRect = rect_to_draw(skGlyph, {sx, sy}, textRatio, maskStyle); if (!glyphRect.isEmpty()) { - blob->appendGlyph(runIndex, glyphRect, color, *strike, glyph, - skGlyphCache, skGlyph, sx, sy, textRatio, !needsTransform); + blob->appendGlyph(runIndex, glyphRect, color, *strike, glyph, !needsTransform); } }