| Index: src/pathops/SkReduceOrder.cpp
|
| diff --git a/src/pathops/SkReduceOrder.cpp b/src/pathops/SkReduceOrder.cpp
|
| index ada52761b5c98811b59712df51641bc29ef3aeb5..bb2038b45f2ec864e6c06883c5aabded3ff9fe2d 100644
|
| --- a/src/pathops/SkReduceOrder.cpp
|
| +++ b/src/pathops/SkReduceOrder.cpp
|
| @@ -161,8 +161,8 @@ static int check_linear(const SkDCubic& cubic,
|
| while (cubic[startIndex].approximatelyEqual(cubic[endIndex])) {
|
| --endIndex;
|
| if (endIndex == 0) {
|
| - SkDebugf("%s shouldn't get here if all four points are about equal\n", __FUNCTION__);
|
| - SkASSERT(0);
|
| + endIndex = 3;
|
| + break;
|
| }
|
| }
|
| if (!cubic.isLinear(startIndex, endIndex)) {
|
|
|