aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/core/SkPath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkPath.h b/include/core/SkPath.h
index fcb3cb5f86..a6d78ec9fe 100644
--- a/include/core/SkPath.h
+++ b/include/core/SkPath.h
@@ -200,7 +200,7 @@ public:
if (fBoundsIsDirty) {
this->computeBounds();
}
- return fIsFinite;
+ return SkToBool(fIsFinite);
}
/** Test a line for zero length