diff options
author | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-11-25 14:18:21 +0000 |
---|---|---|
committer | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-11-25 14:18:21 +0000 |
commit | 927b7028d44c46e9cbc18368f16ec2262d59d94d (patch) | |
tree | ecfdf83c9fda4c8ff9a83230bdf558106086a534 /tests/PathOpsCubicQuadIntersectionTest.cpp | |
parent | 6fcb0cdaa2cd443e63c56957c780632a9cbc838f (diff) |
remove unused reduce order code
BUG=
Review URL: https://codereview.chromium.org/85763002
git-svn-id: http://skia.googlecode.com/svn/trunk@12377 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/PathOpsCubicQuadIntersectionTest.cpp')
-rw-r--r-- | tests/PathOpsCubicQuadIntersectionTest.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/PathOpsCubicQuadIntersectionTest.cpp b/tests/PathOpsCubicQuadIntersectionTest.cpp index 94a2bf7d6f..ce54b95ecf 100644 --- a/tests/PathOpsCubicQuadIntersectionTest.cpp +++ b/tests/PathOpsCubicQuadIntersectionTest.cpp @@ -59,9 +59,8 @@ static void PathOpsCubicQuadIntersectionTest(skiatest::Reporter* reporter) { SkASSERT(ValidQuad(quad)); SkReduceOrder reduce1; SkReduceOrder reduce2; - int order1 = reduce1.reduce(cubic, SkReduceOrder::kNo_Quadratics, - SkReduceOrder::kFill_Style); - int order2 = reduce2.reduce(quad, SkReduceOrder::kFill_Style); + int order1 = reduce1.reduce(cubic, SkReduceOrder::kNo_Quadratics); + int order2 = reduce2.reduce(quad); if (order1 != 4) { SkDebugf("[%d] cubic order=%d\n", iIndex, order1); REPORTER_ASSERT(reporter, 0); |