Index: gm/colortype.cpp |
diff --git a/gm/colortype.cpp b/gm/colortype.cpp |
index 2774f3a5ff6ad4150305e9ea64e2874b5e76531d..1d6dfad4699a7a39f6dbe6e9c552282aaf256faf 100644 |
--- a/gm/colortype.cpp |
+++ b/gm/colortype.cpp |
@@ -26,8 +26,8 @@ public: |
paint.setAntiAlias(true); |
paint.setShader(s)->unref(); |
- SkTypeface* orig = SkTypeface::CreateFromName("Times", |
- SkTypeface::kBold); |
+ SkTypeface* orig = sk_tool_utils::create_portable_typeface("Times", |
+ SkTypeface::kBold); |
if (NULL == orig) { |
orig = SkTypeface::RefDefault(); |
} |