aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/SubsetPath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/SubsetPath.cpp')
-rw-r--r--tests/SubsetPath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/SubsetPath.cpp b/tests/SubsetPath.cpp
index c1f2a62e26..6a7660e527 100644
--- a/tests/SubsetPath.cpp
+++ b/tests/SubsetPath.cpp
@@ -193,7 +193,7 @@ SkPath SubsetVerbs::getSubsetPath() const {
bool addLineTo = false;
while ((verb = iter.next(pts)) != SkPath::kDone_Verb) {
bool enabled = SkPath::kLine_Verb <= verb && verb <= SkPath::kCubic_Verb
- ? (bool)fSelected[verbIndex++] : false;
+ ? fSelected[verbIndex++] : false;
if (enabled) {
if (addMoveTo) {
result.moveTo(pts[0]);