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

Unified Diff: content/renderer/gpu/render_widget_compositor.cc

Issue 2336853002: cc: Plumb device color space through to rasterization (Closed)
Patch Set: Remove damage 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 | « cc/trees/layer_tree_impl_unittest.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/render_widget_compositor.cc
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc
index 8f5c7320d55128dc2c20a191b1ac4fd411e1e934..4226cea945d22b841d3be387dca45566678c375e 100644
--- a/content/renderer/gpu/render_widget_compositor.cc
+++ b/content/renderer/gpu/render_widget_compositor.cc
@@ -1140,7 +1140,7 @@ void RenderWidgetCompositor::SetPaintedDeviceScaleFactor(
void RenderWidgetCompositor::SetDeviceColorSpace(
const gfx::ColorSpace& color_space) {
- // TODO(ccameron): Plumb this to the cc compositor.
+ layer_tree_host_->GetLayerTree()->SetDeviceColorSpace(color_space);
}
} // namespace content
« no previous file with comments | « cc/trees/layer_tree_impl_unittest.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698