| Index: src/pathops/SkOpAngle.cpp
|
| diff --git a/src/pathops/SkOpAngle.cpp b/src/pathops/SkOpAngle.cpp
|
| index 6e49c4977faa007f5457533ef0a45674279fee63..36c0dd90f7c4fcfffd70316656af5061df3d0bc6 100644
|
| --- a/src/pathops/SkOpAngle.cpp
|
| +++ b/src/pathops/SkOpAngle.cpp
|
| @@ -182,8 +182,7 @@ int SkOpAngle::allOnOneSide(const SkOpAngle* test) {
|
| int lineStart = fStart->t() < fEnd->t() ? 0 : 1;
|
| line = linePts[lineStart ^ 1] - linePts[lineStart];
|
| } else {
|
| - SkPoint shortPts[2] = { fCurvePart[0].asSkPoint(), fCurvePart[1].asSkPoint() };
|
| - line = shortPts[1] - shortPts[0];
|
| + line = (fCurvePart[1] - fCurvePart[0]).asSkVector();
|
| }
|
| float crosses[3];
|
| SkPath::Verb testVerb = test->segment()->verb();
|
|
|