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

Unified Diff: ui/ozone/platform/drm/gpu/drm_display_snapshot.cc

Issue 1129863003: Load ICC file for display color correction based on display product identifier (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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: ui/ozone/platform/drm/gpu/drm_display_snapshot.cc
diff --git a/ui/ozone/platform/drm/gpu/drm_display_snapshot.cc b/ui/ozone/platform/drm/gpu/drm_display_snapshot.cc
index 4c90654259a9c9aa41b004240a58c4ff2a0e5e95..6478a03a23e80bdbca7f5f74bc678e0be069a6eb 100644
--- a/ui/ozone/platform/drm/gpu/drm_display_snapshot.cc
+++ b/ui/ozone/platform/drm/gpu/drm_display_snapshot.cc
@@ -91,7 +91,7 @@ DrmDisplaySnapshot::DrmDisplaySnapshot(const scoped_refptr<DrmDevice>& drm,
static_cast<uint8_t*>(edid_blob->data),
static_cast<uint8_t*>(edid_blob->data) + edid_blob->length);
- if (!GetDisplayIdFromEDID(edid, index, &display_id_))
+ if (!GetDisplayIdFromEDID(edid, index, &display_id_, &product_id_))
display_id_ = index;
ParseOutputDeviceData(edid, nullptr, &display_name_, nullptr, nullptr);
« ui/display/types/display_snapshot.h ('K') | « ui/ozone/common/gpu/ozone_gpu_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698