summaryrefslogtreecommitdiff
path: root/core/jni/android
diff options
context:
space:
mode:
authorMike Reed <reed@google.com>2019-11-27 11:15:43 -0500
committerMike Reed <reed@google.com>2019-11-27 11:15:47 -0500
commit7d48969b40c602513ef8e42ed4736c2a37bb57fe (patch)
treeaa0233ea363f9d69b824c06e53bd0cd2dfd84fe5 /core/jni/android
parent6a3f8594cc2e816da2465121ef4e844904da0708 (diff)
don't call deprecated iter next
Test: make Change-Id: I59e9729a0a4d5d6e89c0b82b314d8116f336cdfc
Diffstat (limited to 'core/jni/android')
-rw-r--r--core/jni/android/graphics/Path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/android/graphics/Path.cpp b/core/jni/android/graphics/Path.cpp
index 0cfbec5c0934..1b2776525e47 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);
}