| Index: skia/ext/skia_utils_base.h
|
| diff --git a/skia/ext/skia_utils_base.h b/skia/ext/skia_utils_base.h
|
| index 77a9490bf610f73e89159d6a59d5b84882544325..60423dc76b02ac8d8f3c90c717c17ed6cf916eb8 100644
|
| --- a/skia/ext/skia_utils_base.h
|
| +++ b/skia/ext/skia_utils_base.h
|
| @@ -21,6 +21,10 @@ SK_API bool ReadSkString(base::PickleIterator* iter, SkString* str);
|
| SK_API bool ReadSkFontIdentity(base::PickleIterator* iter,
|
| SkFontConfigInterface::FontIdentity* identity);
|
|
|
| +// Return true if the pickle/iterator contains a SkFontStyle. If so, and if
|
| +// style is not null, copy it into style.
|
| +SK_API bool ReadSkFontStyle(base::PickleIterator* iter, SkFontStyle* style);
|
| +
|
| // Return true if str can be written into the request pickle.
|
| SK_API bool WriteSkString(base::Pickle* pickle, const SkString& str);
|
|
|
| @@ -29,6 +33,9 @@ SK_API bool WriteSkFontIdentity(
|
| base::Pickle* pickle,
|
| const SkFontConfigInterface::FontIdentity& identity);
|
|
|
| +// Return true if str can be written into the request pickle.
|
| +SK_API bool WriteSkFontStyle(base::Pickle* pickle, SkFontStyle style);
|
| +
|
| // Determine the default pixel geometry (for LCD) by querying the font host
|
| SK_API SkPixelGeometry ComputeDefaultPixelGeometry();
|
|
|
|
|