From 02352d14d4d2dc2e35d62f30674bf126eef26c26 Mon Sep 17 00:00:00 2001 From: "caryclark@google.com" Date: Mon, 25 Nov 2013 15:05:05 +0000 Subject: remove more unused static functions git-svn-id: http://skia.googlecode.com/svn/trunk@12379 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/PathOpsCubicReduceOrderTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/PathOpsCubicReduceOrderTest.cpp') 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())) { -- cgit v1.2.3