Index: gm/glyph_pos.cpp |
diff --git a/gm/glyph_pos.cpp b/gm/glyph_pos.cpp |
index b0451016accaa71bc13a2d61b4d3db5a09cc212b..8d5064c9fd48c8b440dfaee45e4b3f834a4f20d6 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::portable_typeface("Helvetica", SkTypeface::kNormal)); |
} |
// There's a black pixel at 40, 40 for reference. |