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

Unified Diff: components/display_compositor/gpu_root_compositor_frame_sink.cc

Issue 2728173004: HDR: Do nonlinear blending in the compositor (Closed)
Patch Set: Fix windows build 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
Index: components/display_compositor/gpu_root_compositor_frame_sink.cc
diff --git a/components/display_compositor/gpu_root_compositor_frame_sink.cc b/components/display_compositor/gpu_root_compositor_frame_sink.cc
index 73ddf26b03e1b00242f7d00880d0ce5027d40fcd..84423df4b86a587916f907a202c5480d35259290 100644
--- a/components/display_compositor/gpu_root_compositor_frame_sink.cc
+++ b/components/display_compositor/gpu_root_compositor_frame_sink.cc
@@ -61,7 +61,7 @@ void GpuRootCompositorFrameSink::ResizeDisplay(const gfx::Size& size) {
void GpuRootCompositorFrameSink::SetDisplayColorSpace(
const gfx::ColorSpace& color_space) {
DCHECK(display_);
- display_->SetColorSpace(color_space);
+ display_->SetColorSpace(color_space, color_space);
}
void GpuRootCompositorFrameSink::SetOutputIsSecure(bool secure) {
« no previous file with comments | « cc/surfaces/surface_aggregator_unittest.cc ('k') | content/browser/compositor/gpu_process_transport_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698