diff options
author | 2017-10-12 17:11:54 -0400 | |
---|---|---|
committer | 2017-10-13 15:49:18 +0000 | |
commit | d40b3b0af1d24cc7fbe3a6bdcbe35d382425b209 (patch) | |
tree | 45329f76fdf6fa30ab15e85f1c1fef46f88ae9fc /include/core/SkFontStyle.h | |
parent | 2563ff942c0af72be399da87f15e0153ef2a4df3 (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.h | 2 |
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; } |