From 4b413c8bb123e42ca4b9c7bfa6bc2167283cb84c Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Mon, 25 Nov 2013 19:44:07 +0000 Subject: remove SkFloatToScalar macro BUG= R=reed@google.com, djsollen@google.com Author: caryclark@google.com Review URL: https://codereview.chromium.org/85463005 git-svn-id: http://skia.googlecode.com/svn/trunk@12385 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/DrawTextTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/DrawTextTest.cpp') diff --git a/tests/DrawTextTest.cpp b/tests/DrawTextTest.cpp index 4f3eb829a1..b1bb19de65 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(align)); -- cgit v1.2.3