Revert "add guard to switch to SkPathTypes"

This reverts commit e1af44498b6e40c448811e6efc4412272cc10ca7.

Reason for revert: breaking google3?

Original change's description:
> add guard to switch to SkPathTypes
> 
> Change-Id: I44d8b5ae8a5172d11a6d4cd9d994373dd3816d6f
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/241278
> Reviewed-by: Kevin Lubick <kjlubick@google.com>
> Reviewed-by: Florin Malita <fmalita@chromium.org>
> Commit-Queue: Mike Reed <reed@google.com>

TBR=robertphillips@google.com,kjlubick@google.com,fmalita@chromium.org,reed@google.com

Change-Id: If1fffb6310921ee6f213af000da793afcf62ab0b
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/241560
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
diff --git a/src/utils/SkLua.cpp b/src/utils/SkLua.cpp
index a437fb2..03318bb 100644
--- a/src/utils/SkLua.cpp
+++ b/src/utils/SkLua.cpp
@@ -1248,22 +1248,22 @@
     return 1;
 }
 
-static const char* fill_type_to_str(SkPathFillType fill) {
+static const char* fill_type_to_str(SkPath::FillType fill) {
     switch (fill) {
-        case SkPathFillType::kEvenOdd:
+        case SkPath::kEvenOdd_FillType:
             return "even-odd";
-        case SkPathFillType::kWinding:
+        case SkPath::kWinding_FillType:
             return "winding";
-        case SkPathFillType::kInverseEvenOdd:
+        case SkPath::kInverseEvenOdd_FillType:
             return "inverse-even-odd";
-        case SkPathFillType::kInverseWinding:
+        case SkPath::kInverseWinding_FillType:
             return "inverse-winding";
     }
     return "unknown";
 }
 
 static int lpath_getFillType(lua_State* L) {
-    SkPathFillType fill = (SkPathFillType)get_obj<SkPath>(L, 1)->getFillType();
+    SkPath::FillType fill = get_obj<SkPath>(L, 1)->getFillType();
     SkLua(L).pushString(fill_type_to_str(fill));
     return 1;
 }
@@ -1310,8 +1310,7 @@
 }
 
 static int lpath_isConvex(lua_State* L) {
-    bool isConvex = SkPathConvexityType::kConvex ==
-                   (SkPathConvexityType)get_obj<SkPath>(L, 1)->getConvexity();
+    bool isConvex = SkPath::kConvex_Convexity == get_obj<SkPath>(L, 1)->getConvexity();
     SkLua(L).pushBool(isConvex);
     return 1;
 }