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/utils/SkDashPath.cpp b/src/utils/SkDashPath.cpp
index 35ab108..7c8e751 100644
--- a/src/utils/SkDashPath.cpp
+++ b/src/utils/SkDashPath.cpp
@@ -7,6 +7,7 @@
 
 #include "include/core/SkPathMeasure.h"
 #include "include/core/SkStrokeRec.h"
+#include "src/core/SkPathPriv.h"
 #include "src/core/SkPointPriv.h"
 #include "src/utils/SkDashPathPriv.h"
 
@@ -424,8 +425,9 @@
         }
     } while (meas.nextContour());
 
+    // TODO: do we still need this?
     if (segCount > 1) {
-        dst->setConvexityType(SkPathConvexityType::kConcave);
+        SkPathPriv::SetConvexityType(*dst, SkPathConvexityType::kConcave);
     }
 
     return true;