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

Unified Diff: cc/tiles/tile_manager.cc

Issue 2735943002: cc: Clarify that color spaces are for raster (Closed)
Patch Set: Rebase (a few times) Created 3 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
« no previous file with comments | « cc/tiles/tile_manager.h ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/tile_manager.cc
diff --git a/cc/tiles/tile_manager.cc b/cc/tiles/tile_manager.cc
index 9a63601f1518184dd63558e00ee15bddb0943dc2..76d0a2ac9b8254cfd5fe382522880e43354be1f8 100644
--- a/cc/tiles/tile_manager.cc
+++ b/cc/tiles/tile_manager.cc
@@ -802,7 +802,7 @@ void TileManager::ScheduleTasks(
graph_.Reset();
- gfx::ColorSpace target_color_space = client_->GetTileColorSpace();
+ gfx::ColorSpace raster_color_space = client_->GetRasterColorSpace();
scoped_refptr<TileTask> required_for_activation_done_task =
CreateTaskSetFinishedTask(
@@ -823,7 +823,7 @@ void TileManager::ScheduleTasks(
if (!tile->raster_task_) {
tile->raster_task_ =
- CreateRasterTask(prioritized_tile, target_color_space);
+ CreateRasterTask(prioritized_tile, raster_color_space);
}
TileTask* task = tile->raster_task_.get();
« no previous file with comments | « cc/tiles/tile_manager.h ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698