diff options
author | caryclark <caryclark@google.com> | 2015-09-04 05:00:15 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-04 05:00:15 -0700 |
commit | 6ff734b311e11ba79c0fad8602cd6e890d438cb6 (patch) | |
tree | 4eea2d6036bae1673740b5b40135215353b25c7d /tests | |
parent | 5a9a5b3e7fc5bd79af55f22cb674e8d2d7021d9d (diff) |
remove unused fields from SkOpSegment
TBR=reed@google.com
Review URL: https://codereview.chromium.org/1322413002
Diffstat (limited to 'tests')
-rw-r--r-- | tests/PathOpsCubicIntersectionTest.cpp | 3 | ||||
-rw-r--r-- | tests/PathOpsOpTest.cpp | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/PathOpsCubicIntersectionTest.cpp b/tests/PathOpsCubicIntersectionTest.cpp index d45ec06d55..6186ec8170 100644 --- a/tests/PathOpsCubicIntersectionTest.cpp +++ b/tests/PathOpsCubicIntersectionTest.cpp @@ -627,8 +627,7 @@ static void selfOneOff(skiatest::Reporter* reporter, int index) { SkScalar loopT; SkScalar d[3]; SkCubicType cubicType = SkClassifyCubic(c, d); - SkDCubic::CubicType dType; - if (SkDCubic::ComplexBreak(c, &loopT, &dType) && cubicType == SkCubicType::kLoop_SkCubicType) { + if (SkDCubic::ComplexBreak(c, &loopT) && cubicType == SkCubicType::kLoop_SkCubicType) { SkIntersections i; SkPoint twoCubics[7]; SkChopCubicAt(c, twoCubics, loopT); diff --git a/tests/PathOpsOpTest.cpp b/tests/PathOpsOpTest.cpp index 2fb8669806..a28bae8b15 100644 --- a/tests/PathOpsOpTest.cpp +++ b/tests/PathOpsOpTest.cpp @@ -3845,8 +3845,7 @@ static void cubicOp130(skiatest::Reporter* reporter, const char* filename) { static void complex_to_quads(const SkPoint pts[], SkPath* path) { SkScalar loopT; - SkDCubic::CubicType dType; - if (SkDCubic::ComplexBreak(pts, &loopT, &dType)) { + if (SkDCubic::ComplexBreak(pts, &loopT)) { SkPoint cubicPair[7]; SkChopCubicAt(pts, cubicPair, loopT); SkDCubic c1, c2; |