aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@google.com>2014-10-20 12:54:31 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-10-20 12:54:31 -0700
commit802ad83dca2efd57fde6c7ba666555ea78b5324c (patch)
treede3ef90d0e9906ee2c16388b58e17e12976d833b /tools
parent43b8b36b20ae00e2d78421c4cda1f3f922983a20 (diff)
Revert of Replace SkTypeface::Style with SkFontStyle. (patchset #9 id:160001 of https://codereview.chromium.org/488143002/)
Reason for revert: CrOS GM failures: [*] 2 ExpectationsMismatch: fontmgr_iter_565.png fontmgr_iter_8888.png Original issue's description: > Replace SkTypeface::Style with SkFontStyle. > > Committed: https://skia.googlesource.com/skia/+/43b8b36b20ae00e2d78421c4cda1f3f922983a20 TBR=reed@google.com,bungeman@google.com NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/667023002
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 7cee944b52..3236f07c84 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, SkFontStyle(style)));
+ return SkNEW_ARGS(SkTestTypeface, (font, style));
}