switch to new filltype for SkPath
Change-Id: I7793324a9acf4afb0eb38c1e20fbb38eac25d636
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/256102
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Mike Reed <reed@google.com>
diff --git a/tests/DefaultPathRendererTest.cpp b/tests/DefaultPathRendererTest.cpp
index c4498a2..40a8578 100644
--- a/tests/DefaultPathRendererTest.cpp
+++ b/tests/DefaultPathRendererTest.cpp
@@ -52,7 +52,7 @@
return bm;
}
-static SkPath make_path(const SkRect& outer, int inset, SkPath::FillType fill) {
+static SkPath make_path(const SkRect& outer, int inset, SkPathFillType fill) {
SkPath p;
p.addRect(outer, SkPathDirection::kCW);
@@ -77,9 +77,9 @@
static void run_test(GrContext* ctx, skiatest::Reporter* reporter) {
SkPath invPath = make_path(SkRect::MakeXYWH(0, 0, kBigSize, kBigSize),
- kBigSize/2-1, SkPath::kInverseWinding_FillType);
+ kBigSize/2-1, SkPathFillType::kInverseWinding);
SkPath path = make_path(SkRect::MakeXYWH(0, 0, kBigSize, kBigSize),
- kPad, SkPath::kWinding_FillType);
+ kPad, SkPathFillType::kWinding);
GrStyle style(SkStrokeRec::kFill_InitStyle);