| Index: gm/deviceproperties.cpp
|
| diff --git a/gm/deviceproperties.cpp b/gm/deviceproperties.cpp
|
| index 92a3d51bb739a70f4c2d93852ec44ce1eab466da..073e4f7e4ddfdced9cd6ffdd72dd97e75fd5b640 100644
|
| --- a/gm/deviceproperties.cpp
|
| +++ b/gm/deviceproperties.cpp
|
| @@ -55,7 +55,7 @@ protected:
|
| //With freetype the default (normal hinting) can be really ugly.
|
| //Most distros now set slight (vertical hinting only) in any event.
|
| paint.setHinting(SkPaint::kSlight_Hinting);
|
| - SkSafeUnref(paint.setTypeface(SkTypeface::CreateFromName("Times Roman", SkTypeface::kNormal)));
|
| + sk_tool_utils::set_portable_typeface(&paint, "Times Roman", SkTypeface::kNormal);
|
|
|
| const char* text = "Hamburgefons ooo mmm";
|
| const size_t textLen = strlen(text);
|
|
|