don't call deprecated iter next

Test: make

Change-Id: I59e9729a0a4d5d6e89c0b82b314d8116f336cdfc
This commit is contained in:
Mike Reed
2019-11-27 11:15:43 -05:00
parent 6a3f8594cc
commit 7d48969b40

View File

@@ -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);
}