| Index: src/pathops/SkOpSegment.cpp
|
| diff --git a/src/pathops/SkOpSegment.cpp b/src/pathops/SkOpSegment.cpp
|
| index 6a62175032741f17951684557a127c23709c0b87..484ddca412549d5077501670a518071b5ae65e2e 100644
|
| --- a/src/pathops/SkOpSegment.cpp
|
| +++ b/src/pathops/SkOpSegment.cpp
|
| @@ -258,9 +258,9 @@ bool SkOpSegment::addExpanded(double newT, const SkOpSpanBase* test, bool* start
|
| return false;
|
| }
|
| newPtT->fPt = this->ptAtT(newT);
|
| - // const cast away to change linked list; pt/t values stays unchanged
|
| SkOpPtT* oppPrev = test->ptT()->oppPrev(newPtT);
|
| if (oppPrev) {
|
| + // const cast away to change linked list; pt/t values stays unchanged
|
| SkOpSpanBase* writableTest = const_cast<SkOpSpanBase*>(test);
|
| writableTest->mergeMatches(newPtT->span());
|
| writableTest->ptT()->addOpp(newPtT, oppPrev);
|
|
|