aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/shadertext3.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/shadertext3.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/shadertext3.cpp')
-rw-r--r--gm/shadertext3.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/shadertext3.cpp b/gm/shadertext3.cpp
index 47dd29e60c..07ecd7184b 100644
--- a/gm/shadertext3.cpp
+++ b/gm/shadertext3.cpp
@@ -73,7 +73,7 @@ protected:
SkPaint outlinePaint;
outlinePaint.setAntiAlias(true);
- sk_tool_utils::set_portable_typeface_always(&outlinePaint);
+ sk_tool_utils::set_portable_typeface(&outlinePaint);
outlinePaint.setTextSize(SkIntToScalar(kPointSize));
outlinePaint.setStyle(SkPaint::kStroke_Style);
outlinePaint.setStrokeWidth(0.f);
@@ -107,7 +107,7 @@ protected:
SkPaint fillPaint;
fillPaint.setAntiAlias(true);
- sk_tool_utils::set_portable_typeface_always(&fillPaint);
+ sk_tool_utils::set_portable_typeface(&fillPaint);
fillPaint.setTextSize(SkIntToScalar(kPointSize));
fillPaint.setFilterQuality(kLow_SkFilterQuality);
fillPaint.setShader(shader);