Index: samplecode/SampleFilterFuzz.cpp |
diff --git a/samplecode/SampleFilterFuzz.cpp b/samplecode/SampleFilterFuzz.cpp |
index 88372414ca741380ba4f3c88c659fbb80cfd2667..78bc67386f0a6c2de94a36649981009d79c399b8 100644 |
--- a/samplecode/SampleFilterFuzz.cpp |
+++ b/samplecode/SampleFilterFuzz.cpp |
@@ -198,8 +198,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(SkTypeface::kBoldItalic+1); |
} |
static SkPath1DPathEffect::Style make_path_1d_path_effect_style() { |