aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrBitmapTextContext.cpp
diff options
context:
space:
mode:
authorGravatar herb <herb@google.com>2015-02-24 05:12:05 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-24 05:12:05 -0800
commitf8d24e2c0c7b44b7ccf20e40890514db4cde7b15 (patch)
tree01187c9c660dbc97ca5a3281b4d64a4a056b86b7 /src/gpu/GrBitmapTextContext.cpp
parent73953e7d00f0a75a98e985ceed88059d35945327 (diff)
BUG=skia:
(mtklein from here on) No public API changes. TBR=reed@google.com Review URL: https://codereview.chromium.org/939123002
Diffstat (limited to 'src/gpu/GrBitmapTextContext.cpp')
-rwxr-xr-xsrc/gpu/GrBitmapTextContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrBitmapTextContext.cpp b/src/gpu/GrBitmapTextContext.cpp
index 30c9205627..2345ac1f4c 100755
--- a/src/gpu/GrBitmapTextContext.cpp
+++ b/src/gpu/GrBitmapTextContext.cpp
@@ -140,7 +140,7 @@ void GrBitmapTextContext::onDrawText(GrRenderTarget* rt, const GrPaint& paint,
SkFixed fyMask = ~0;
SkFixed halfSampleX, halfSampleY;
if (cache->isSubpixel()) {
- halfSampleX = halfSampleY = (SK_FixedHalf >> SkGlyph::kSubBits);
+ halfSampleX = halfSampleY = SkGlyph::kSubpixelRound;
SkAxisAlignment baseline = SkComputeAxisAlignmentForHText(viewMatrix);
if (kX_SkAxisAlignment == baseline) {
fyMask = 0;