From 1818acb6a4b11cd9a1d44ce5dde77452502a9796 Mon Sep 17 00:00:00 2001 From: caryclark Date: Fri, 24 Jul 2015 12:09:25 -0700 Subject: rename portable_typeface_always to portable_typeface TBR=reed@google.com Review URL: https://codereview.chromium.org/1257773002 --- gm/poly2poly.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gm/poly2poly.cpp') diff --git a/gm/poly2poly.cpp b/gm/poly2poly.cpp index 4ab8209ba4..72ab7276e1 100644 --- a/gm/poly2poly.cpp +++ b/gm/poly2poly.cpp @@ -37,7 +37,7 @@ private: SkJSCanvas::SkJSCanvas(SkCanvas* target) : fTarget(target) { fFillPaint.setAntiAlias(true); - sk_tool_utils::set_portable_typeface_always(&fFillPaint); + sk_tool_utils::set_portable_typeface(&fFillPaint); fStrokePaint.setAntiAlias(true); fStrokePaint.setStyle(SkPaint::kStroke_Style); fStrokePaint.setStrokeWidth(SK_Scalar1); @@ -227,7 +227,7 @@ protected: SkPaint paint; paint.setAntiAlias(true); - sk_tool_utils::set_portable_typeface_always(&paint); + sk_tool_utils::set_portable_typeface(&paint); paint.setStrokeWidth(SkIntToScalar(4)); paint.setTextSize(SkIntToScalar(40)); paint.setTextAlign(SkPaint::kCenter_Align); -- cgit v1.2.3