remove unused static function
authorcaryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 25 Nov 2013 14:36:58 +0000 (14:36 +0000)
committercaryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 25 Nov 2013 14:36:58 +0000 (14:36 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@12378 2bbb7eff-a529-9590-31e7-b0007b416f81

tests/PathOpsCubicReduceOrderTest.cpp

index 3702ead..54ff541 100644 (file)
@@ -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;