aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar jvanverth <jvanverth@google.com>2015-06-22 06:46:56 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-22 06:46:56 -0700
commit4854d13c27f6e3f8f763afd291821ce42324e645 (patch)
tree0fec644c4ff6dd8c8d53562251066cc6e7224700 /src/core
parent01f38915e1ed20cb7cc319e2ed6a26cc74db2c16 (diff)
Remove distance field flag from SkPaint
Diffstat (limited to 'src/core')
-rw-r--r--src/core/SkPaint.cpp4
-rw-r--r--src/core/SkTextBlob.cpp3
2 files changed, 1 insertions, 6 deletions
diff --git a/src/core/SkPaint.cpp b/src/core/SkPaint.cpp
index 83647d4aea..b18ffa65a7 100644
--- a/src/core/SkPaint.cpp
+++ b/src/core/SkPaint.cpp
@@ -229,10 +229,6 @@ void SkPaint::setDevKernText(bool doDevKern) {
this->setFlags(SkSetClearMask(fBitfields.fFlags, doDevKern, kDevKernText_Flag));
}
-void SkPaint::setDistanceFieldTextTEMP(bool doDistanceFieldText) {
- this->setFlags(SkSetClearMask(fBitfields.fFlags, doDistanceFieldText, kDistanceFieldTextTEMP_Flag));
-}
-
void SkPaint::setStyle(Style style) {
if ((unsigned)style < kStyleCount) {
fBitfields.fStyle = style;
diff --git a/src/core/SkTextBlob.cpp b/src/core/SkTextBlob.cpp
index 6ea081d764..d1a77e74f7 100644
--- a/src/core/SkTextBlob.cpp
+++ b/src/core/SkTextBlob.cpp
@@ -63,8 +63,7 @@ private:
SkPaint::kEmbeddedBitmapText_Flag |
SkPaint::kAutoHinting_Flag |
SkPaint::kVerticalText_Flag |
- SkPaint::kGenA8FromLCD_Flag |
- SkPaint::kDistanceFieldTextTEMP_Flag;
+ SkPaint::kGenA8FromLCD_Flag;
SkScalar fSize;
SkScalar fScaleX;