Index: src/gpu/GrBitmapTextContext.cpp |
diff --git a/src/gpu/GrBitmapTextContext.cpp b/src/gpu/GrBitmapTextContext.cpp |
index a75ccb53c4b66ba1f992acc575cbaf329ff45fd9..5e5aa6a3cd06ef54f9c41cfc7868d61463283701 100755 |
--- a/src/gpu/GrBitmapTextContext.cpp |
+++ b/src/gpu/GrBitmapTextContext.cpp |
@@ -138,7 +138,7 @@ |
SkFixed fyMask = ~0; |
SkFixed halfSampleX, halfSampleY; |
if (cache->isSubpixel()) { |
- halfSampleX = halfSampleY = SkGlyph::kSubpixelRound; |
+ halfSampleX = halfSampleY = (SK_FixedHalf >> SkGlyph::kSubBits); |
SkAxisAlignment baseline = SkComputeAxisAlignmentForHText(viewMatrix); |
if (kX_SkAxisAlignment == baseline) { |
fyMask = 0; |