Index: tests/DrawTextTest.cpp |
diff --git a/tests/DrawTextTest.cpp b/tests/DrawTextTest.cpp |
index 4f3eb829a1bcfa045d0a6ff26d8688b6cf5a2e0e..b1bb19de65817537a8d3789c027c31403c0d66ac 100644 |
--- a/tests/DrawTextTest.cpp |
+++ b/tests/DrawTextTest.cpp |
@@ -80,8 +80,8 @@ static void test_drawText(skiatest::Reporter* reporter) { |
for (float offsetY = 0.0f; offsetY < 1.0f; offsetY += (1.0f / 16.0f)) { |
for (float offsetX = 0.0f; offsetX < 1.0f; offsetX += (1.0f / 16.0f)) { |
- SkPoint point = SkPoint::Make(SkFloatToScalar(25.0f + offsetX), |
- SkFloatToScalar(25.0f + offsetY)); |
+ SkPoint point = SkPoint::Make(25.0f + offsetX, |
+ 25.0f + offsetY); |
for (int align = 0; align < SkPaint::kAlignCount; ++align) { |
paint.setTextAlign(static_cast<SkPaint::Align>(align)); |