Index: gm/verttext2.cpp |
diff --git a/gm/verttext2.cpp b/gm/verttext2.cpp |
index b0375eeb64e6dd2a9fa3dc126c9a4fb0331c43c4..0ccdec19cadfce01896b0437a69276b029f57121 100644 |
--- a/gm/verttext2.cpp |
+++ b/gm/verttext2.cpp |
@@ -21,8 +21,8 @@ public: |
VertText2GM() { |
const int pointSize = 24; |
textHeight = SkIntToScalar(pointSize); |
- fProp = SkTypeface::CreateFromName("Helvetica", SkTypeface::kNormal); |
- fMono = SkTypeface::CreateFromName("Courier New", SkTypeface::kNormal); |
+ fProp = sk_tool_utils::create_portable_typeface("Helvetica", SkTypeface::kNormal); |
+ fMono = sk_tool_utils::create_portable_typeface("Courier New", SkTypeface::kNormal); |
} |
virtual ~VertText2GM() { |