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

Unified Diff: cc/tiles/tile_manager.cc

Issue 2336853002: cc: Plumb device color space through to rasterization (Closed)
Patch Set: Use suggested approach 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_manager.cc
diff --git a/cc/tiles/tile_manager.cc b/cc/tiles/tile_manager.cc
index e0968d19392183453a4e51cce3b7a5d182445889..d6b831486c8cd64d4d4fa1857b6b44159a6b8077 100644
--- a/cc/tiles/tile_manager.cc
+++ b/cc/tiles/tile_manager.cc
@@ -942,7 +942,7 @@ scoped_refptr<TileTask> TileManager::CreateRasterTask(
} else {
resource = resource_pool_->AcquireResource(tile->desired_texture_size(),
DetermineResourceFormat(tile),
- gfx::ColorSpace());
+ client_->GetTileColorSpace());
vmpstr 2016/09/14 23:00:43 Can you make CreateRasterTask take the color space
ccameron 2016/09/15 07:13:42 Done.
}
// For LOW_RESOLUTION tiles, we don't draw or predecode images.

Powered by Google App Engine
This is Rietveld 408576698