diff options
author | 2014-10-20 12:33:59 -0700 | |
---|---|---|
committer | 2014-10-20 12:33:59 -0700 | |
commit | 43b8b36b20ae00e2d78421c4cda1f3f922983a20 (patch) | |
tree | dd61aeeafd3280074f03e7ef5b1a462bfd060c9e /tools | |
parent | 33e6466a4faa3a58202bf056b50fdcd9dc34cc22 (diff) |
Replace SkTypeface::Style with SkFontStyle.
Review URL: https://codereview.chromium.org/488143002
Diffstat (limited to 'tools')
-rw-r--r-- | tools/sk_tool_utils_font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sk_tool_utils_font.cpp b/tools/sk_tool_utils_font.cpp index 3236f07c84..7cee944b52 100644 --- a/tools/sk_tool_utils_font.cpp +++ b/tools/sk_tool_utils_font.cpp @@ -63,7 +63,7 @@ SkTypeface* create_font(const char* name, SkTypeface::Style style) { atexit(release_portable_typefaces); } } - return SkNEW_ARGS(SkTestTypeface, (font, style)); + return SkNEW_ARGS(SkTestTypeface, (font, SkFontStyle(style))); } |