Remove distance field flag from SkPaint
Review URL: https://codereview.chromium.org/1192413005
diff --git a/src/gpu/GrAtlasTextContext.cpp b/src/gpu/GrAtlasTextContext.cpp
index 9a727bb..aa51cd2 100644
--- a/src/gpu/GrAtlasTextContext.cpp
+++ b/src/gpu/GrAtlasTextContext.cpp
@@ -451,7 +451,7 @@
useDFT = true;
#endif
- if (!useDFT && !skPaint.isDistanceFieldTextTEMP() && scaledTextSize < kLargeDFFontSize) {
+ if (!useDFT && scaledTextSize < kLargeDFFontSize) {
return false;
}
@@ -2244,7 +2244,6 @@
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());