Index: gm/glyph_pos.cpp |
diff --git a/gm/glyph_pos.cpp b/gm/glyph_pos.cpp |
index b0451016accaa71bc13a2d61b4d3db5a09cc212b..ecb9963799449a3972476b024dd9069ef97245ac 100644 |
--- a/gm/glyph_pos.cpp |
+++ b/gm/glyph_pos.cpp |
@@ -52,7 +52,7 @@ protected: |
virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
if (!fProp) { |
- fProp.reset(SkTypeface::CreateFromName("Helvetica", SkTypeface::kNormal)); |
+ fProp.reset(sk_tool_utils::create_portable_typeface("Helvetica", SkTypeface::kNormal)); |
} |
// There's a black pixel at 40, 40 for reference. |