diff options
author | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-11-25 14:36:58 +0000 |
---|---|---|
committer | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-11-25 14:36:58 +0000 |
commit | 111417aae90beb459bcd77397270d67ca3731e69 (patch) | |
tree | 1361476cc28d1edf52deb9ee0505d5f0267aa634 | |
parent | 927b7028d44c46e9cbc18368f16ec2262d59d94d (diff) |
remove unused static function
git-svn-id: http://skia.googlecode.com/svn/trunk@12378 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | tests/PathOpsCubicReduceOrderTest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/PathOpsCubicReduceOrderTest.cpp b/tests/PathOpsCubicReduceOrderTest.cpp index 3702ead694..54ff541bcf 100644 --- a/tests/PathOpsCubicReduceOrderTest.cpp +++ b/tests/PathOpsCubicReduceOrderTest.cpp @@ -40,6 +40,7 @@ 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())) { @@ -55,6 +56,7 @@ static void find_tight_bounds(const SkDCubic& cubic, SkDRect& bounds) { bounds.add(cubicPair.second()[3]); } } +#endif static void PathOpsReduceOrderCubicTest(skiatest::Reporter* reporter) { size_t index; |