Index: gm/gammatext.cpp |
diff --git a/gm/gammatext.cpp b/gm/gammatext.cpp |
index f10680e5674eb90554709d7151ce740c6618668a..cdc37fac93534555607f4f4b6b3acfe9ad8f704a 100644 |
--- a/gm/gammatext.cpp |
+++ b/gm/gammatext.cpp |
@@ -26,7 +26,7 @@ static SkShader* make_heatGradient(const SkPoint pts[2]) { |
} |
static bool setFont(SkPaint* paint, const char name[]) { |
- SkTypeface* tf = SkTypeface::CreateFromName(name, SkTypeface::kNormal); |
+ SkTypeface* tf = sk_tool_utils::create_portable_typeface(name, SkTypeface::kNormal); |
if (tf) { |
paint->setTypeface(tf)->unref(); |
return true; |