| Index: include/core/SkImageInfo.h
|
| diff --git a/include/core/SkImageInfo.h b/include/core/SkImageInfo.h
|
| index ba4f85026486c2a30a414e5534baa71704ef3b9a..b45ee38ee182e0382076728c2f0298df26dbdb0e 100644
|
| --- a/include/core/SkImageInfo.h
|
| +++ b/include/core/SkImageInfo.h
|
| @@ -13,8 +13,6 @@
|
| #include "SkRect.h"
|
| #include "SkSize.h"
|
|
|
| -#define SK_SUPPORT_LEGACY_COLORPROFILETYPE
|
| -
|
| class SkReadBuffer;
|
| class SkWriteBuffer;
|
|
|
| @@ -220,8 +218,8 @@ public:
|
| /**
|
| * Sets colortype to the native ARGB32 type, and the alphatype to premul.
|
| */
|
| - static SkImageInfo MakeN32Premul(int width, int height) {
|
| - return Make(width, height, kN32_SkColorType, kPremul_SkAlphaType, nullptr);
|
| + static SkImageInfo MakeN32Premul(int width, int height, sk_sp<SkColorSpace> cs = nullptr) {
|
| + return Make(width, height, kN32_SkColorType, kPremul_SkAlphaType, cs);
|
| }
|
|
|
| static SkImageInfo MakeN32Premul(const SkISize& size) {
|
|
|