| Index: src/core/SkBitmap.cpp
|
| diff --git a/src/core/SkBitmap.cpp b/src/core/SkBitmap.cpp
|
| index 0490e8f4827aafefc5da8680936fa4599a233093..789bf11b4c4570d0ab7af8440aa2581d9cd68f4f 100644
|
| --- a/src/core/SkBitmap.cpp
|
| +++ b/src/core/SkBitmap.cpp
|
| @@ -91,9 +91,11 @@ void SkBitmap::reset() {
|
| sk_bzero(this, sizeof(*this));
|
| }
|
|
|
| +#ifdef SK_SUPPORT_LEGACY_BITMAP_CONFIG
|
| SkBitmap::Config SkBitmap::config() const {
|
| return SkColorTypeToBitmapConfig(fInfo.colorType());
|
| }
|
| +#endif
|
|
|
| #ifdef SK_SUPPORT_LEGACY_COMPUTE_CONFIG_SIZE
|
| int SkBitmap::ComputeBytesPerPixel(SkBitmap::Config config) {
|
|
|