diff options
author | 2014-11-13 13:06:27 -0800 | |
---|---|---|
committer | 2014-11-13 13:06:28 -0800 | |
commit | bc97c9378bf8b89cc17280a2a04a5c3a9405e6ab (patch) | |
tree | 9dba5c1c7bb95c5197d7708ef3fa057fe91e6c4f /src/gpu/GrBitmapTextContext.cpp | |
parent | a918cd9fb75610e19c3459fc56e52424e3475506 (diff) |
Remove SK_IGNORE_SUBPIXEL_AXIS_ALIGN_FIX.
This define was added with "Always round text position correctly."
9447103029273a9f8dd7f5997e8af7a1e3ee7488 . The affected clients
have been rebaselined and this is no longer defined anywhere.
Review URL: https://codereview.chromium.org/722333002
Diffstat (limited to 'src/gpu/GrBitmapTextContext.cpp')
-rwxr-xr-x | src/gpu/GrBitmapTextContext.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gpu/GrBitmapTextContext.cpp b/src/gpu/GrBitmapTextContext.cpp index a45aeaeb72..03cdf24f6f 100755 --- a/src/gpu/GrBitmapTextContext.cpp +++ b/src/gpu/GrBitmapTextContext.cpp @@ -239,14 +239,10 @@ void GrBitmapTextContext::onDrawPosText(const GrPaint& paint, const SkPaint& skP SkFixed fyMask = ~0; if (kX_SkAxisAlignment == baseline) { fyMask = 0; -#ifndef SK_IGNORE_SUBPIXEL_AXIS_ALIGN_FIX halfSampleY = SK_FixedHalf; -#endif } else if (kY_SkAxisAlignment == baseline) { fxMask = 0; -#ifndef SK_IGNORE_SUBPIXEL_AXIS_ALIGN_FIX halfSampleX = SK_FixedHalf; -#endif } if (SkPaint::kLeft_Align == fSkPaint.getTextAlign()) { |