| Index: skia/ext/skia_utils_base.h
|
| diff --git a/skia/ext/skia_utils_base.h b/skia/ext/skia_utils_base.h
|
| index 6af5cf7451d1f5c68ab271ce07327de727c118da..654f55c0f214e34174f5b5982852afbab0cb4539 100644
|
| --- a/skia/ext/skia_utils_base.h
|
| +++ b/skia/ext/skia_utils_base.h
|
| @@ -6,8 +6,9 @@
|
| #define SKIA_EXT_SKIA_UTILS_BASE_H_
|
|
|
| #include "base/pickle.h"
|
| -#include "third_party/skia/include/ports/SkFontConfigInterface.h"
|
| +#include "third_party/skia/include/core/SkImage.h"
|
| #include "third_party/skia/include/core/SkSurfaceProps.h"
|
| +#include "third_party/skia/include/ports/SkFontConfigInterface.h"
|
|
|
| namespace skia {
|
|
|
| @@ -38,6 +39,9 @@ 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();
|
|
|
| +// Uses safe math to compute and return the size of |image|.
|
| +SK_API size_t SafeSizeOfImage(const SkImage* image);
|
| +
|
| } // namespace skia
|
|
|
| #endif // SKIA_EXT_SKIA_UTILS_BASE_H_
|
|
|