aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2014-10-20 12:33:59 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-10-20 12:33:59 -0700
commit43b8b36b20ae00e2d78421c4cda1f3f922983a20 (patch)
treedd61aeeafd3280074f03e7ef5b1a462bfd060c9e /tools
parent33e6466a4faa3a58202bf056b50fdcd9dc34cc22 (diff)
Replace SkTypeface::Style with SkFontStyle.
Diffstat (limited to 'tools')
-rw-r--r--tools/sk_tool_utils_font.cpp2
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)));
}