Patch SkImage.h so Chrome will compile

git-svn-id: http://skia.googlecode.com/svn/trunk@11429 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
robertphillips@google.com 2013-09-22 21:57:03 +00:00
parent b1b6a46740
commit 485e1c0128

View File

@ -54,12 +54,12 @@ public:
kLastEnum_ColorType = kBGRA_8888_ColorType
};
enum AlphaType {
kIgnore_AlphaType = kIgnore_SkAlphaType,
kOpaque_AlphaType = kOpaque_SkAlphaType,
kPremul_AlphaType = kPremul_SkAlphaType,
kUnpremul_AlphaType = kUnpremul_SkAlphaType,
};
typedef SkAlphaType AlphaType;
static const SkAlphaType kIgnore_AlphaType = kIgnore_SkAlphaType;
static const SkAlphaType kOpaque_AlphaType = kOpaque_SkAlphaType;
static const SkAlphaType kPremul_AlphaType = kPremul_SkAlphaType;
static const SkAlphaType kUnpremul_AlphaType = kUnpremul_SkAlphaType;
struct Info {
int fWidth;