Index: gm/colortypexfermode.cpp |
diff --git a/gm/colortypexfermode.cpp b/gm/colortypexfermode.cpp |
index 058b92d223f01983b5967a79a1f0715f5da4a6f4..554282fadf9da37e2ba576579edf0539ef90b4a8 100644 |
--- a/gm/colortypexfermode.cpp |
+++ b/gm/colortypexfermode.cpp |
@@ -34,7 +34,8 @@ protected: |
paint.setShader(SkGradientShader::MakeSweep(0, 0, colors, nullptr, SK_ARRAY_COUNT(colors), |
0, &local)); |
- sk_sp<SkTypeface> orig(sk_tool_utils::create_portable_typeface("serif", SkTypeface::kBold)); |
+ sk_sp<SkTypeface> orig(sk_tool_utils::create_portable_typeface("serif", |
+ SkFontStyle::FromOldStyle(SkTypeface::kBold))); |
if (nullptr == orig) { |
orig = SkTypeface::MakeDefault(); |
} |