Chromium Code Reviews| Index: src/pathops/SkOpContour.h |
| diff --git a/src/pathops/SkOpContour.h b/src/pathops/SkOpContour.h |
| index d0e09a3a7045cbea343b412e959b791f57720f6a..b9f0b85af5dbe1ecfccf9eb1e2ca7b3730b73241 100644 |
| --- a/src/pathops/SkOpContour.h |
| +++ b/src/pathops/SkOpContour.h |
| @@ -269,7 +269,9 @@ public: |
| SkASSERT(fCount > 0); |
| SkOpSegment* segment = &fHead; |
| do { |
| - segment->moveMultiples(); |
| + if (!segment->moveMultiples()) { |
| + return false; |
| + } |
| } while ((segment = segment->next())); |
| return true; |
| } |