Index: src/gpu/GrBatchFontCache.cpp |
diff --git a/src/gpu/GrBatchFontCache.cpp b/src/gpu/GrBatchFontCache.cpp |
index dfab80af2663a4d26fd871f795b09be58a531f9d..88b3a4db17044c49616ecbf03917776ab0c412f8 100644 |
--- a/src/gpu/GrBatchFontCache.cpp |
+++ b/src/gpu/GrBatchFontCache.cpp |
@@ -173,7 +173,7 @@ void GrBatchTextStrike::removeID(GrBatchAtlas::AtlasID id) { |
} |
} |
-bool GrBatchTextStrike::addGlyphToAtlas(GrBatchTarget* batchTarget, GrGlyph* glyph, |
+bool GrBatchTextStrike::addGlyphToAtlas(GrDrawBatch::Target* target, GrGlyph* glyph, |
GrFontScaler* scaler, const SkGlyph& skGlyph, |
GrMaskFormat expectedMaskFormat) { |
SkASSERT(glyph); |
@@ -200,7 +200,7 @@ bool GrBatchTextStrike::addGlyphToAtlas(GrBatchTarget* batchTarget, GrGlyph* gly |
} |
} |
- bool success = fBatchFontCache->addToAtlas(this, &glyph->fID, batchTarget, expectedMaskFormat, |
+ bool success = fBatchFontCache->addToAtlas(this, &glyph->fID, target, expectedMaskFormat, |
glyph->width(), glyph->height(), |
storage.get(), &glyph->fAtlasLocation); |
if (success) { |