Chromium Code Reviews| Index: cc/resources/ui_resource_bitmap.h |
| diff --git a/cc/resources/ui_resource_bitmap.h b/cc/resources/ui_resource_bitmap.h |
| index dbf70690792c2801457abf68b0ff9cb7ee51639b..541e7d4d77826fc6258175a681f2a8bc204dc6e0 100644 |
| --- a/cc/resources/ui_resource_bitmap.h |
| +++ b/cc/resources/ui_resource_bitmap.h |
| @@ -11,6 +11,8 @@ |
| #include "third_party/skia/include/core/SkTypes.h" |
| #include "ui/gfx/size.h" |
| +class SkBitmap; |
| + |
| namespace cc { |
| // Ref-counted bitmap class (can’t use SkBitmap because of ETC1). Thread-safety |
| @@ -45,6 +47,9 @@ class CC_EXPORT UIResourceBitmap |
| DISALLOW_COPY_AND_ASSIGN(UIResourceBitmap); |
| }; |
| +CC_EXPORT scoped_refptr<UIResourceBitmap> CreateUIResourceBitmapFromSkBitmap( |
|
danakj
2013/08/27 15:42:48
Can this be a static method in the UIResourceBitma
powei
2013/08/27 22:39:28
Done.
|
| + const SkBitmap& skbitmap); |
| + |
| } // namespace cc |
| #endif // CC_RESOURCES_UI_RESOURCE_BITMAP_H_ |