aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PathOpsCubicReduceOrderTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PathOpsCubicReduceOrderTest.cpp')
-rw-r--r--tests/PathOpsCubicReduceOrderTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PathOpsCubicReduceOrderTest.cpp b/tests/PathOpsCubicReduceOrderTest.cpp
index 54ff541bcf..9b3a4e0601 100644
--- a/tests/PathOpsCubicReduceOrderTest.cpp
+++ b/tests/PathOpsCubicReduceOrderTest.cpp
@@ -12,6 +12,7 @@
#include "SkReduceOrder.h"
#include "Test.h"
+#if 0 // disable test until stroke reduction is supported
static bool controls_inside(const SkDCubic& cubic) {
return between(cubic[0].fX, cubic[1].fX, cubic[3].fX)
&& between(cubic[0].fX, cubic[2].fX, cubic[3].fX)
@@ -40,7 +41,6 @@ static bool tiny(const SkDCubic& cubic) {
&& approximately_equal(cubic[maxY].fY, cubic[minY].fY);
}
-#if 0 // disable test until stroke reduction is supported
static void find_tight_bounds(const SkDCubic& cubic, SkDRect& bounds) {
SkDCubicPair cubicPair = cubic.chopAt(0.5);
if (!tiny(cubicPair.first()) && !controls_inside(cubicPair.first())) {