diff options
author | 2013-12-17 16:44:46 +0000 | |
---|---|---|
committer | 2013-12-17 16:44:46 +0000 | |
commit | 8f4d2306fa866a26f9448048ff63f692b2ba43aa (patch) | |
tree | 7a48d817cb5220f87e81781320b002eead2495a0 /tests/PathMeasureTest.cpp | |
parent | a34b638b909f58dd7c66546a0f49923112f7f785 (diff) |
remove SK_SCALAR_IS_[FLOAT,FIXED] and assume floats
To keep the CL (slightly) managable, this does not make any changes to
existing macros (e.g. SkScalarMul). Just tackling #ifdef constructs this
time around.
BUG=
R=bsalomon@google.com, caryclark@google.com
Review URL: https://codereview.chromium.org/117053002
git-svn-id: http://skia.googlecode.com/svn/trunk@12712 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/PathMeasureTest.cpp')
-rw-r--r-- | tests/PathMeasureTest.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/PathMeasureTest.cpp b/tests/PathMeasureTest.cpp index 5c92ca1686..2d7b64ec36 100644 --- a/tests/PathMeasureTest.cpp +++ b/tests/PathMeasureTest.cpp @@ -10,7 +10,6 @@ #include "SkPathMeasure.h" static void test_small_segment3() { -#ifdef SK_SCALAR_IS_FLOAT SkPath path; const SkPoint pts[] = { { 0, 0 }, @@ -25,11 +24,9 @@ static void test_small_segment3() { SkPathMeasure meas(path, false); meas.getLength(); -#endif } static void test_small_segment2() { -#ifdef SK_SCALAR_IS_FLOAT SkPath path; const SkPoint pts[] = { { 0, 0 }, @@ -43,11 +40,9 @@ static void test_small_segment2() { } SkPathMeasure meas(path, false); meas.getLength(); -#endif } static void test_small_segment() { -#ifdef SK_SCALAR_IS_FLOAT SkPath path; const SkPoint pts[] = { { 100000, 100000}, @@ -77,7 +72,6 @@ static void test_small_segment() { because distance >>> d. */ meas.getLength(); -#endif } DEF_TEST(PathMeasure, reporter) { |