| Index: src/pathops/SkPathOpsCubic.cpp
|
| diff --git a/src/pathops/SkPathOpsCubic.cpp b/src/pathops/SkPathOpsCubic.cpp
|
| index a161e368e7da5e44a17d7a47741aefc98841a7ee..7fd3dd235d52762d8fa9514984d18bf7afcb7972 100644
|
| --- a/src/pathops/SkPathOpsCubic.cpp
|
| +++ b/src/pathops/SkPathOpsCubic.cpp
|
| @@ -277,7 +277,7 @@ bool SkDCubic::ComplexBreak(const SkPoint pointsPtr[4], SkScalar* t) {
|
| for (int index = 0; index < roots; ++index) {
|
| if (between(inflectionTs[0], maxCurvature[index], inflectionTs[1])) {
|
| *t = maxCurvature[index];
|
| - return true;
|
| + return *t > 0 && *t < 1;
|
| }
|
| }
|
| } else if (infTCount == 1) {
|
|
|