aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/poly2poly.cpp
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2015-07-24 12:09:25 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-24 12:09:25 -0700
commit1818acb6a4b11cd9a1d44ce5dde77452502a9796 (patch)
treeda32cc017d51c679fc8dab4efa509b3c8603b615 /gm/poly2poly.cpp
parentd9f13aef8dead11b65b75076746206161c65a3bd (diff)
rename portable_typeface_always to portable_typeface
TBR=reed@google.com Review URL: https://codereview.chromium.org/1257773002
Diffstat (limited to 'gm/poly2poly.cpp')
-rw-r--r--gm/poly2poly.cpp4
1 files changed, 2 insertions, 2 deletions
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);