| Index: cc/resources/ui_resource_bitmap.h
|
| diff --git a/cc/resources/ui_resource_bitmap.h b/cc/resources/ui_resource_bitmap.h
|
| index b8863d8e994c32b809a31f86251e3fc7795d8da1..09403a345daf5f6fcd9229be35689e13997eb914 100644
|
| --- a/cc/resources/ui_resource_bitmap.h
|
| +++ b/cc/resources/ui_resource_bitmap.h
|
| @@ -27,6 +27,7 @@ class CC_EXPORT UIResourceBitmap {
|
| public:
|
| enum UIResourceFormat {
|
| RGBA8,
|
| + ALPHA_8,
|
| ETC1
|
| };
|
| enum UIResourceWrapMode {
|
| @@ -42,7 +43,7 @@ class CC_EXPORT UIResourceBitmap {
|
| void SetOpaque(bool opaque) { opaque_ = opaque; }
|
|
|
| // User must ensure that |skbitmap| is immutable. The SkBitmap Format should
|
| - // be 32-bit RGBA.
|
| + // be 32-bit RGBA or 8-bit ALPHA.
|
| explicit UIResourceBitmap(const SkBitmap& skbitmap);
|
| UIResourceBitmap(const gfx::Size& size, bool is_opaque);
|
| UIResourceBitmap(const skia::RefPtr<SkPixelRef>& pixel_ref,
|
|
|