Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: cc/resources/ui_resource_bitmap.cc

Issue 22529002: [cc] Allow resources and ui resources to specify wrap mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix botched resolve Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/resources/ui_resource_bitmap.h ('k') | cc/resources/video_resource_updater.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/ui_resource_bitmap.cc
diff --git a/cc/resources/ui_resource_bitmap.cc b/cc/resources/ui_resource_bitmap.cc
index 8bbfb37deee70a1ebaede084bea89fcc1361064d..1510607d8d045c97cab55ef325372714afd7948f 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;
« no previous file with comments | « cc/resources/ui_resource_bitmap.h ('k') | cc/resources/video_resource_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698