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

Unified Diff: gpu/ipc/client/gpu_memory_buffer_impl_io_surface.cc

Issue 2738713003: color: Ensure that VideoResourceUpdater give consistent colors (Closed)
Patch Set: Rebase 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: gpu/ipc/client/gpu_memory_buffer_impl_io_surface.cc
diff --git a/gpu/ipc/client/gpu_memory_buffer_impl_io_surface.cc b/gpu/ipc/client/gpu_memory_buffer_impl_io_surface.cc
index 2efc42d5c6376c1fa056786c8f207ec2e048e658..a87bd3046b630ba78efbc34f303a0e8ac41d8169 100644
--- a/gpu/ipc/client/gpu_memory_buffer_impl_io_surface.cc
+++ b/gpu/ipc/client/gpu_memory_buffer_impl_io_surface.cc
@@ -120,7 +120,7 @@ void GpuMemoryBufferImplIOSurface::SetColorSpaceForScanout(
// Retrieve the ICC profile data.
gfx::ICCProfile icc_profile;
- if (!color_space_.GetICCProfile(&icc_profile)) {
+ if (!color_space_.GetAsFullRangeRGB().GetICCProfile(&icc_profile)) {
DLOG(ERROR) << "Failed to set color space for scanout: no ICC profile.";
return;
}

Powered by Google App Engine
This is Rietveld 408576698