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

Unified Diff: cc/layers/picture_layer_impl.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
« no previous file with comments | « no previous file | cc/tiles/tile.h » ('j') | cc/tiles/tile.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer_impl.cc
diff --git a/cc/layers/picture_layer_impl.cc b/cc/layers/picture_layer_impl.cc
index 06fa0a1ae6d68174bda946ee4ebb6598a2fa512e..4376e36456372a129367567a8a98c2ce41233b6e 100644
--- a/cc/layers/picture_layer_impl.cc
+++ b/cc/layers/picture_layer_impl.cc
@@ -699,7 +699,8 @@ ScopedTilePtr PictureLayerImpl::CreateTile(const Tile::CreateInfo& info) {
flags |= Tile::IS_OPAQUE;
return layer_tree_impl()->tile_manager()->CreateTile(
- info, id(), layer_tree_impl()->source_frame_number(), flags);
+ info, layer_tree_impl()->device_color_space(), id(),
+ layer_tree_impl()->source_frame_number(), flags);
}
const Region* PictureLayerImpl::GetPendingInvalidation() {
« no previous file with comments | « no previous file | cc/tiles/tile.h » ('j') | cc/tiles/tile.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698