diff options
author | Ben Wagner <bungeman@google.com> | 2017-10-12 17:11:54 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-13 15:49:18 +0000 |
commit | d40b3b0af1d24cc7fbe3a6bdcbe35d382425b209 (patch) | |
tree | 45329f76fdf6fa30ab15e85f1c1fef46f88ae9fc /src/core/SkPaint.cpp | |
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 'src/core/SkPaint.cpp')
-rw-r--r-- | src/core/SkPaint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkPaint.cpp b/src/core/SkPaint.cpp index a41e6b55fb..fe26c0f776 100644 --- a/src/core/SkPaint.cpp +++ b/src/core/SkPaint.cpp @@ -1869,7 +1869,7 @@ void SkPaint::flatten(SkWriteBuffer& buffer) const { // since the other process may have a different notion of default. SkTypeface* tf = this->getTypeface(); if (!tf && buffer.isCrossProcess()) { - tf = SkTypeface::GetDefaultTypeface(SkTypeface::kNormal); + tf = SkTypeface::GetDefaultTypeface(); } uint8_t flatFlags = 0; |