Index: src/gpu/text/GrStencilAndCoverTextContext.h |
diff --git a/src/gpu/text/GrStencilAndCoverTextContext.h b/src/gpu/text/GrStencilAndCoverTextContext.h |
index d81cb7a00e6c664ee4fb43ed866cc209b64f6587..9b29719cb7629c60e34bab8bd47601b5f0d41d8b 100644 |
--- a/src/gpu/text/GrStencilAndCoverTextContext.h |
+++ b/src/gpu/text/GrStencilAndCoverTextContext.h |
@@ -78,7 +78,7 @@ private: |
void setPosText(const char text[], size_t byteLength, const SkScalar pos[], |
int scalarsPerPosition, const SkPoint& offset); |
- void draw(GrContext*, GrDrawContext*, const GrPaint&, const GrClip&, GrColor, |
+ void draw(GrContext*, GrDrawContext*, const GrPaint&, const GrClip&, |
const SkMatrix&, const SkSurfaceProps&, |
SkScalar x, SkScalar y, const SkIRect& clipBounds, |
GrAtlasTextContext* fallbackTextContext, const SkPaint& originalSkPaint) const; |
@@ -87,6 +87,8 @@ private: |
size_t computeSizeInCache() const; |
+ bool isAntiAlias() const { return fFont.isAntiAlias(); } |
+ |
private: |
typedef GrDrawPathRangeBatch::InstanceData InstanceData; |