Index: fuzz/FilterFuzz.cpp |
diff --git a/fuzz/FilterFuzz.cpp b/fuzz/FilterFuzz.cpp |
index bbc403c6364132d1395d3a54a0cde96fda6ed845..cf92eae4d52f099f43547f69f88175def74c885e 100644 |
--- a/fuzz/FilterFuzz.cpp |
+++ b/fuzz/FilterFuzz.cpp |
@@ -195,8 +195,8 @@ static SkFilterQuality make_filter_quality() { |
return static_cast<SkFilterQuality>(R(kHigh_SkFilterQuality+1)); |
} |
-static SkTypeface::Style make_typeface_style() { |
- return static_cast<SkTypeface::Style>(R(SkTypeface::kBoldItalic+1)); |
+static SkFontStyle make_typeface_style() { |
+ return SkFontStyle::FromOldStyle(R(SkTypeface::kBoldItalic+1)); |
} |
static SkPath1DPathEffect::Style make_path_1d_path_effect_style() { |