Add useDFT field to SkDeviceProperties
Review URL: https://codereview.chromium.org/1191943002
diff --git a/src/gpu/GrAtlasTextContext.h b/src/gpu/GrAtlasTextContext.h
index 47bb7ae..68ec870 100644
--- a/src/gpu/GrAtlasTextContext.h
+++ b/src/gpu/GrAtlasTextContext.h
@@ -35,11 +35,10 @@
*/
class GrAtlasTextContext : public GrTextContext {
public:
- static GrAtlasTextContext* Create(GrContext*, GrDrawContext*,
- const SkDeviceProperties&, bool enableDistanceFields);
+ static GrAtlasTextContext* Create(GrContext*, GrDrawContext*, const SkDeviceProperties&);
private:
- GrAtlasTextContext(GrContext*, GrDrawContext*, const SkDeviceProperties&, bool useDFT);
+ GrAtlasTextContext(GrContext*, GrDrawContext*, const SkDeviceProperties&);
~GrAtlasTextContext() override {}
bool canDraw(const GrRenderTarget*, const GrClip&, const GrPaint&,
@@ -385,7 +384,6 @@
GrBatchTextStrike* fCurrStrike;
GrTextBlobCache* fCache;
- bool fEnableDFRendering;
SkAutoTUnref<DistanceAdjustTable> fDistanceAdjustTable;
friend class GrTextBlobCache;