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 kLastEnum_ColorType = kBGRA_8888_ColorType
}; };
enum AlphaType { typedef SkAlphaType AlphaType;
kIgnore_AlphaType = kIgnore_SkAlphaType,
kOpaque_AlphaType = kOpaque_SkAlphaType, static const SkAlphaType kIgnore_AlphaType = kIgnore_SkAlphaType;
kPremul_AlphaType = kPremul_SkAlphaType, static const SkAlphaType kOpaque_AlphaType = kOpaque_SkAlphaType;
kUnpremul_AlphaType = kUnpremul_SkAlphaType, static const SkAlphaType kPremul_AlphaType = kPremul_SkAlphaType;
}; static const SkAlphaType kUnpremul_AlphaType = kUnpremul_SkAlphaType;
struct Info { struct Info {
int fWidth; int fWidth;