Index: src/gpu/GrBitmapTextContext.cpp |
diff --git a/src/gpu/GrBitmapTextContext.cpp b/src/gpu/GrBitmapTextContext.cpp |
index 5e5aa6a3cd06ef54f9c41cfc7868d61463283701..a75ccb53c4b66ba1f992acc575cbaf329ff45fd9 100755 |
--- a/src/gpu/GrBitmapTextContext.cpp |
+++ b/src/gpu/GrBitmapTextContext.cpp |
@@ -138,7 +138,7 @@ void GrBitmapTextContext::onDrawText(const GrPaint& paint, const SkPaint& skPain |
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; |