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

Unified Diff: cc/resources/tile.cc

Issue 13665003: cc: Moved contents_swizzled out of TileManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 9 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
Index: cc/resources/tile.cc
diff --git a/cc/resources/tile.cc b/cc/resources/tile.cc
index f29baf6907ac83b00cecfa0a54afc56de0bc4fb1..c30663bb724004f46f4b52a9ea9a624715aaafb5 100644
--- a/cc/resources/tile.cc
+++ b/cc/resources/tile.cc
@@ -20,12 +20,12 @@ Tile::Tile(TileManager* tile_manager,
int layer_id)
: tile_manager_(tile_manager),
tile_size_(tile_size),
- format_(format),
content_rect_(content_rect),
contents_scale_(contents_scale),
opaque_rect_(opaque_rect),
layer_id_(layer_id) {
set_picture_pile(picture_pile);
+ drawing_info().set_resource_format(format);
tile_manager_->RegisterTile(this);
}

Powered by Google App Engine
This is Rietveld 408576698