| Index: tests/PathOpsConicIntersectionTest.cpp
|
| diff --git a/tests/PathOpsConicIntersectionTest.cpp b/tests/PathOpsConicIntersectionTest.cpp
|
| index 624a68adaf93d28ae144e706b471680af360c2df..e22ad6bff116ed711f4b285a3c39d5dbd2017c8f 100644
|
| --- a/tests/PathOpsConicIntersectionTest.cpp
|
| +++ b/tests/PathOpsConicIntersectionTest.cpp
|
| @@ -165,7 +165,9 @@ static void chopBothWays(const SkDConic& dConic, double t, const char* name) {
|
| conic.fW = dConic.fWeight;
|
| SkConic chopped[2];
|
| SkDConic dChopped[2];
|
| - conic.chopAt(SkDoubleToScalar(t), chopped);
|
| + if (!conic.chopAt(SkDoubleToScalar(t), chopped)) {
|
| + return;
|
| + }
|
| dChopped[0] = dConic.subDivide(0, t);
|
| dChopped[1] = dConic.subDivide(t, 1);
|
| #if DEBUG_VISUALIZE_CONICS
|
|
|