aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PathOpsCubicIntersectionTest.cpp
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2015-09-04 05:00:15 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-04 05:00:15 -0700
commit6ff734b311e11ba79c0fad8602cd6e890d438cb6 (patch)
tree4eea2d6036bae1673740b5b40135215353b25c7d /tests/PathOpsCubicIntersectionTest.cpp
parent5a9a5b3e7fc5bd79af55f22cb674e8d2d7021d9d (diff)
remove unused fields from SkOpSegment
TBR=reed@google.com Review URL: https://codereview.chromium.org/1322413002
Diffstat (limited to 'tests/PathOpsCubicIntersectionTest.cpp')
-rw-r--r--tests/PathOpsCubicIntersectionTest.cpp3
1 files changed, 1 insertions, 2 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);