Index: src/gpu/GrAtlasTextContext.cpp |
diff --git a/src/gpu/GrAtlasTextContext.cpp b/src/gpu/GrAtlasTextContext.cpp |
index 900d681b50c1f0b43fccbccffe0704a5df20bea9..a718a48b502b94c61f630d80f2bd3e2c0a26e20e 100644 |
--- a/src/gpu/GrAtlasTextContext.cpp |
+++ b/src/gpu/GrAtlasTextContext.cpp |
@@ -447,7 +447,7 @@ inline bool GrAtlasTextContext::canDrawAsDistanceFields(const SkPaint& skPaint, |
useDFT = true; |
#endif |
- if (!useDFT && !skPaint.isDistanceFieldTextTEMP() && scaledTextSize < kLargeDFFontSize) { |
+ if (!useDFT && scaledTextSize < kLargeDFFontSize) { |
return false; |
} |
@@ -2248,7 +2248,6 @@ BATCH_TEST_DEFINE(TextBlobBatch) { |
GrColor color = GrRandomColor(random); |
SkMatrix viewMatrix = GrTest::TestMatrixInvertible(random); |
SkPaint skPaint; |
- skPaint.setDistanceFieldTextTEMP(random->nextBool()); |
skPaint.setColor(color); |
skPaint.setLCDRenderText(random->nextBool()); |
skPaint.setAntiAlias(skPaint.isLCDRenderText() ? true : random->nextBool()); |