aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/emptypath.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/emptypath.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/emptypath.cpp')
-rw-r--r--gm/emptypath.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/emptypath.cpp b/gm/emptypath.cpp
index 64eb28694f..ec60bfcaeb 100644
--- a/gm/emptypath.cpp
+++ b/gm/emptypath.cpp
@@ -63,7 +63,7 @@ protected:
SkPaint titlePaint;
titlePaint.setColor(SK_ColorBLACK);
titlePaint.setAntiAlias(true);
- sk_tool_utils::set_portable_typeface_always(&titlePaint);
+ sk_tool_utils::set_portable_typeface(&titlePaint);
titlePaint.setTextSize(15 * SK_Scalar1);
const char title[] = "Empty Paths Drawn Into Rectangle Clips With "
"Indicated Style and Fill";
@@ -106,7 +106,7 @@ protected:
SkPaint labelPaint;
labelPaint.setColor(color);
labelPaint.setAntiAlias(true);
- sk_tool_utils::set_portable_typeface_always(&labelPaint);
+ sk_tool_utils::set_portable_typeface(&labelPaint);
labelPaint.setTextSize(12 * SK_Scalar1);
canvas->drawText(gStyles[style].fName,
strlen(gStyles[style].fName),