commit | 6052c0bee0d9f767b7cc17d88e9f7da503b22478 | [log] [tgz] |
---|---|---|
author | Mike Reed <reed@google.com> | Fri Aug 28 11:49:56 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Aug 28 16:56:29 2020 +0000 |
tree | c1fe561f6759bf7ca316076efb1ffbc4d9620071 | |
parent | 933abe39c94592084c88df36705dc0e3421592cb [diff] [blame] |
Only expose isConvex on path publicly. Subsequent CLs can work on combining convexity and direction Bug: skia:10670 Change-Id: Ia44769ea88ffd99a56d4c6729a80a2044e790ec2 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/313837 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Mike Reed <reed@google.com>
diff --git a/src/gpu/GrTestUtils.cpp b/src/gpu/GrTestUtils.cpp index e877c7c..d60a358 100644 --- a/src/gpu/GrTestUtils.cpp +++ b/src/gpu/GrTestUtils.cpp
@@ -230,7 +230,7 @@ gPath[2].lineTo(-50.0f, 31.0f); for (size_t i = 0; i < SK_ARRAY_COUNT(gPath); i++) { - SkASSERT(SkPathConvexityType::kConvex == gPath[i].getConvexityType()); + SkASSERT(gPath[i].isConvex()); } }