aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-23 20:45:26 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-23 20:45:26 +0000
commit194bf824f0b16be9de66233c9baf447f11e13758 (patch)
tree57f1936f8ee8cce4855c2b2810337e512e14b5d9 /tests
parent728302281920727b96e6cec0bfc7575900f34a8b (diff)
Reverse sense of convex-quad-fix compiler flag
Diffstat (limited to 'tests')
-rw-r--r--tests/PathTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp
index 5079b7e17c..d4442cb594 100644
--- a/tests/PathTest.cpp
+++ b/tests/PathTest.cpp
@@ -308,7 +308,7 @@ static void test_arb_round_rect_is_convex(skiatest::Reporter* reporter) {
make_arb_round_rect(&temp, r, r.width() / 10, r.height() / 15);
-#ifdef SK_REDEFINE_ROOT2OVER2_TO_MAKE_ARCTOS_CONVEX
+#ifndef SK_IGNORE_CONVEX_QUAD_OPT
REPORTER_ASSERT(reporter, temp.isConvex());
#endif
}
@@ -337,7 +337,7 @@ static void test_arb_zero_rad_round_rect_is_rect(skiatest::Reporter* reporter) {
make_arb_round_rect(&temp, r, 0, 0);
-#ifdef SK_REDEFINE_ROOT2OVER2_TO_MAKE_ARCTOS_CONVEX
+#ifndef SK_IGNORE_CONVEX_QUAD_OPT
SkRect result;
REPORTER_ASSERT(reporter, temp.isRect(&result));
REPORTER_ASSERT(reporter, r == result);