Index: src/gpu/text/GrBatchFontCache.cpp |
diff --git a/src/gpu/text/GrBatchFontCache.cpp b/src/gpu/text/GrBatchFontCache.cpp |
index 3e212cd1713b69afb150a2dfdf407954caa07e37..faafc16a13c022fabd80fee97b04064ca1617f52 100644 |
--- a/src/gpu/text/GrBatchFontCache.cpp |
+++ b/src/gpu/text/GrBatchFontCache.cpp |
@@ -18,7 +18,7 @@ |
bool GrBatchFontCache::initAtlas(GrMaskFormat format) { |
int index = MaskFormatToAtlasIndex(format); |
if (!fAtlases[index]) { |
- GrPixelConfig config = MaskFormatToPixelConfig(format, *fContext->caps()); |
+ GrPixelConfig config = MaskFormatToPixelConfig(format); |
int width = fAtlasConfigs[index].fWidth; |
int height = fAtlasConfigs[index].fHeight; |
int numPlotsX = fAtlasConfigs[index].numPlotsX(); |