diff options
Diffstat (limited to 'cc/resources/ui_resource_bitmap.cc')
-rw-r--r-- | cc/resources/ui_resource_bitmap.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/resources/ui_resource_bitmap.cc b/cc/resources/ui_resource_bitmap.cc index 8bbfb37..1510607d 100644 --- a/cc/resources/ui_resource_bitmap.cc +++ b/cc/resources/ui_resource_bitmap.cc @@ -11,10 +11,12 @@ namespace cc { scoped_refptr<UIResourceBitmap> UIResourceBitmap::Create(uint8_t* pixels, UIResourceFormat format, + UIResourceWrapMode wrap_mode, gfx::Size size) { scoped_refptr<UIResourceBitmap> ret = new UIResourceBitmap(); ret->pixels_ = scoped_ptr<uint8_t[]>(pixels); ret->format_ = format; + ret->wrap_mode_ = wrap_mode; ret->size_ = size; return ret; |