Index: src/core/SkFindAndPlaceGlyph.h |
diff --git a/src/core/SkFindAndPlaceGlyph.h b/src/core/SkFindAndPlaceGlyph.h |
index c74a9820e4240e4a4d1c29dec7b4785223b0ff42..78a02c0e4dc4cdbab3063d07710be743e4741e35 100644 |
--- a/src/core/SkFindAndPlaceGlyph.h |
+++ b/src/core/SkFindAndPlaceGlyph.h |
@@ -367,7 +367,7 @@ private: |
static SkPoint SubpixelPositionRounding(SkAxisAlignment axisAlignment) { |
switch (axisAlignment) { |
case kX_SkAxisAlignment: |
- return {SkFixedToScalar(SkGlyph::kSubpixelRound), SK_ScalarHalf}; |
+ return {kSubpixelRounding, SK_ScalarHalf}; |
case kY_SkAxisAlignment: |
return {SK_ScalarHalf, kSubpixelRounding}; |
case kNone_SkAxisAlignment: |