Index: tools/sk_tool_utils_font.cpp |
diff --git a/tools/sk_tool_utils_font.cpp b/tools/sk_tool_utils_font.cpp |
index 3236f07c84e1912dc98e71c177e3b76b0b9cf6e4..7cee944b5250d70d8d5e09bc8fd9097e396fff8b 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))); |
} |