From 7d48969b40c602513ef8e42ed4736c2a37bb57fe Mon Sep 17 00:00:00 2001 From: Mike Reed Date: Wed, 27 Nov 2019 11:15:43 -0500 Subject: [PATCH] don't call deprecated iter next Test: make Change-Id: I59e9729a0a4d5d6e89c0b82b314d8116f336cdfc --- core/jni/android/graphics/Path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/jni/android/graphics/Path.cpp b/core/jni/android/graphics/Path.cpp index 0cfbec5c09346..1b2776525e479 100644 --- a/core/jni/android/graphics/Path.cpp +++ b/core/jni/android/graphics/Path.cpp @@ -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); }