aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkFontStyle.h
diff options
context:
space:
mode:
authorGravatar Ben Wagner <bungeman@google.com>2017-10-12 17:11:54 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-10-13 15:49:18 +0000
commitd40b3b0af1d24cc7fbe3a6bdcbe35d382425b209 (patch)
tree45329f76fdf6fa30ab15e85f1c1fef46f88ae9fc /include/core/SkFontStyle.h
parent2563ff942c0af72be399da87f15e0153ef2a4df3 (diff)
Make SkTypeface::Style and FromOldStyle private.
These are no longer used outside of Skia, so make them private. Change-Id: I735bb39c10553885cc6051aebddeff150ba4caa9 Reviewed-on: https://skia-review.googlesource.com/59180 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'include/core/SkFontStyle.h')
-rw-r--r--include/core/SkFontStyle.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/core/SkFontStyle.h b/include/core/SkFontStyle.h
index a5e3034e1d..b619c362a1 100644
--- a/include/core/SkFontStyle.h
+++ b/include/core/SkFontStyle.h
@@ -52,8 +52,6 @@ public:
constexpr SkFontStyle() : SkFontStyle{kNormal_Weight, kNormal_Width, kUpright_Slant} { }
- static SkFontStyle FromOldStyle(unsigned oldStyle);
-
bool operator==(const SkFontStyle& rhs) const {
return fValue == rhs.fValue;
}