Index: src/gpu/text/GrBatchFontCache.h |
diff --git a/src/gpu/text/GrBatchFontCache.h b/src/gpu/text/GrBatchFontCache.h |
index 78d7b75961aa3ef7f2772b51175158e2139581a2..42612fe8b67b0d0caea9eed3445ccb6683a15dcf 100644 |
--- a/src/gpu/text/GrBatchFontCache.h |
+++ b/src/gpu/text/GrBatchFontCache.h |
@@ -186,11 +186,11 @@ |
void setAtlasSizes_ForTesting(const GrBatchAtlasConfig configs[3]); |
private: |
- static GrPixelConfig MaskFormatToPixelConfig(GrMaskFormat format, const GrCaps& caps) { |
+ static GrPixelConfig MaskFormatToPixelConfig(GrMaskFormat format) { |
static const GrPixelConfig kPixelConfigs[] = { |
kAlpha_8_GrPixelConfig, |
kRGB_565_GrPixelConfig, |
- caps.srgbSupport() ? kSkiaGamma8888_GrPixelConfig : kSkia8888_GrPixelConfig |
+ kSkia8888_GrPixelConfig |
}; |
static_assert(SK_ARRAY_COUNT(kPixelConfigs) == kMaskFormatCount, "array_size_mismatch"); |