aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/sk_tool_utils.h
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 /tools/sk_tool_utils.h
parentd9f13aef8dead11b65b75076746206161c65a3bd (diff)
rename portable_typeface_always to portable_typeface
TBR=reed@google.com Review URL: https://codereview.chromium.org/1257773002
Diffstat (limited to 'tools/sk_tool_utils.h')
-rw-r--r--tools/sk_tool_utils.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/tools/sk_tool_utils.h b/tools/sk_tool_utils.h
index 59ae66a3bb..1d1d365285 100644
--- a/tools/sk_tool_utils.h
+++ b/tools/sk_tool_utils.h
@@ -66,28 +66,15 @@ namespace sk_tool_utils {
const char* platform_font_name(const char* name);
/**
- * Sets the paint to use a platform-independent text renderer if FLAGS_portableFonts is set.
- * FIXME: will become obsolete as GMs migrate to set portable typeface always.
- */
- void set_portable_typeface(SkPaint* paint, const char* name = NULL,
- SkTypeface::Style style = SkTypeface::kNormal);
-
- /**
* Sets the paint to use a platform-independent text renderer
*/
- void set_portable_typeface_always(SkPaint* paint, const char* name = NULL,
+ void set_portable_typeface(SkPaint* paint, const char* name = NULL,
SkTypeface::Style style = SkTypeface::kNormal);
- /**
- * Returns a platform-independent text renderer if FLAGS_portableFonts is set.
- * FIXME: will become obsolete as GMs migrate to set portable typeface always.
- */
- SkTypeface* create_portable_typeface(const char* name, SkTypeface::Style style);
-
/**
* Returns a platform-independent text renderer.
*/
- SkTypeface* create_portable_typeface_always(const char* name, SkTypeface::Style style);
+ SkTypeface* create_portable_typeface(const char* name, SkTypeface::Style style);
/** Call to clean up portable font references. */
void release_portable_typefaces();