Index: src/gpu/text/GrTextUtils.h |
diff --git a/src/gpu/text/GrTextUtils.h b/src/gpu/text/GrTextUtils.h |
index 52b3ab4c54f60d5db6ef917562b4089cda4094ef..470e0b666c0bf46e3fd7c70020d59b261f44b8a3 100644 |
--- a/src/gpu/text/GrTextUtils.h |
+++ b/src/gpu/text/GrTextUtils.h |
@@ -38,13 +38,13 @@ public: |
static void DrawBmpText(GrAtlasTextBlob*, int runIndex, |
GrBatchFontCache*, const SkSurfaceProps&, |
const SkPaint&, |
- GrColor, SkPaint::FakeGamma, const SkMatrix& viewMatrix, |
+ GrColor, uint32_t fontWeightFlags, const SkMatrix& viewMatrix, |
const char text[], size_t byteLength, |
SkScalar x, SkScalar y); |
static void DrawBmpPosText(GrAtlasTextBlob*, int runIndex, |
GrBatchFontCache*, const SkSurfaceProps&, const SkPaint&, |
- GrColor, SkPaint::FakeGamma, const SkMatrix& viewMatrix, |
+ GrColor, uint32_t fontWeightFlags, const SkMatrix& viewMatrix, |
const char text[], size_t byteLength, |
const SkScalar pos[], int scalarsPerPosition, |
const SkPoint& offset); |
@@ -55,14 +55,14 @@ public: |
static void DrawDFText(GrAtlasTextBlob* blob, int runIndex, |
GrBatchFontCache*, const SkSurfaceProps&, |
- const SkPaint& skPaint, GrColor color, SkPaint::FakeGamma, |
+ const SkPaint& skPaint, GrColor color, uint32_t fontWeightFlags, |
const SkMatrix& viewMatrix, |
const char text[], size_t byteLength, |
SkScalar x, SkScalar y); |
static void DrawDFPosText(GrAtlasTextBlob* blob, int runIndex, |
GrBatchFontCache*, const SkSurfaceProps&, const SkPaint&, |
- GrColor color, SkPaint::FakeGamma, const SkMatrix& viewMatrix, |
+ GrColor color, uint32_t fontWeightFlags, const SkMatrix& viewMatrix, |
const char text[], size_t byteLength, |
const SkScalar pos[], int scalarsPerPosition, |
const SkPoint& offset); |