| Index: cc/resources/ui_resource_bitmap.h
|
| diff --git a/cc/resources/ui_resource_bitmap.h b/cc/resources/ui_resource_bitmap.h
|
| index c56cc86115e9a25f84b72de065d7ebffc8831238..97991b9dcb145bf128104db98cc05f74ad431e51 100644
|
| --- a/cc/resources/ui_resource_bitmap.h
|
| +++ b/cc/resources/ui_resource_bitmap.h
|
| @@ -11,6 +11,8 @@
|
|
|
| #include "base/memory/ref_counted.h"
|
| #include "cc/base/cc_export.h"
|
| +#include "third_party/skia/include/core/SkBitmap.h"
|
| +#include "third_party/skia/include/core/SkCanvas.h"
|
| #include "third_party/skia/include/core/SkPixelRef.h"
|
| #include "ui/gfx/geometry/size.h"
|
|
|
| @@ -36,6 +38,7 @@ class CC_EXPORT UIResourceBitmap {
|
| UIResourceFormat GetFormat() const { return format_; }
|
| bool GetOpaque() const { return opaque_; }
|
| void SetOpaque(bool opaque) { opaque_ = opaque; }
|
| + void Draw(SkCanvas& canvas, SkPaint& paint);
|
|
|
| // User must ensure that |skbitmap| is immutable. The SkBitmap Format should
|
| // be 32-bit RGBA or 8-bit ALPHA.
|
|
|