Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7d48969b authored by Mike Reed's avatar Mike Reed
Browse files

don't call deprecated iter next

Test: make

Change-Id: I59e9729a0a4d5d6e89c0b82b314d8116f336cdfc
parent 6a3f8594
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -419,7 +419,7 @@ public:
        float errorSquared = acceptableError * acceptableError;
        float errorConic = acceptableError / 2; // somewhat arbitrary

        while ((verb = pathIter.next(points, false)) != SkPath::kDone_Verb) {
        while ((verb = pathIter.next(points)) != SkPath::kDone_Verb) {
            createVerbSegments(pathIter, verb, points, segmentPoints, lengths,
                    errorSquared, errorConic);
        }