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

Unified Diff: cc/tiles/tile.cc

Issue 2336853002: cc: Plumb device color space through to rasterization (Closed)
Patch Set: Created 4 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
Index: cc/tiles/tile.cc
diff --git a/cc/tiles/tile.cc b/cc/tiles/tile.cc
index 81dce76513fe2fb0f947448355385662cc86c323..9182dce6521452fb2e05e9b271e06ae5f365c2be 100644
--- a/cc/tiles/tile.cc
+++ b/cc/tiles/tile.cc
@@ -18,6 +18,7 @@ namespace cc {
Tile::Tile(TileManager* tile_manager,
const CreateInfo& info,
+ const gfx::ColorSpace& color_space,
int layer_id,
int source_frame_number,
int flags)
@@ -25,6 +26,7 @@ Tile::Tile(TileManager* tile_manager,
content_rect_(info.content_rect),
enclosing_layer_rect_(info.enclosing_layer_rect),
contents_scale_(info.contents_scale),
+ color_space_(color_space),
layer_id_(layer_id),
source_frame_number_(source_frame_number),
flags_(flags),

Powered by Google App Engine
This is Rietveld 408576698