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

Unified Diff: ui/ozone/platform/drm/common/drm_util.cc

Issue 1671223002: Revert of Give user ability to file a feedback report from the display error notification. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « ui/ozone/common/gpu/ozone_gpu_messages.h ('k') | ui/views/widget/desktop_aura/desktop_screen_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/common/drm_util.cc
diff --git a/ui/ozone/platform/drm/common/drm_util.cc b/ui/ozone/platform/drm/common/drm_util.cc
index eb560ab5ab1f06fd71d5a4deab5530ee3f29aafd..dbe061ad96bb2d31ef529560194f0702f11607be 100644
--- a/ui/ozone/platform/drm/common/drm_util.cc
+++ b/ui/ozone/platform/drm/common/drm_util.cc
@@ -234,16 +234,16 @@
GetDrmPropertyBlob(fd, info->connector(), "EDID"));
if (edid_blob) {
- params.edid.assign(
+ std::vector<uint8_t> edid(
static_cast<uint8_t*>(edid_blob->data),
static_cast<uint8_t*>(edid_blob->data) + edid_blob->length);
- GetDisplayIdFromEDID(params.edid, connector_index, &params.display_id,
+ GetDisplayIdFromEDID(edid, connector_index, &params.display_id,
&params.product_id);
- ParseOutputDeviceData(params.edid, nullptr, nullptr, &params.display_name,
- nullptr, nullptr);
- ParseOutputOverscanFlag(params.edid, &params.has_overscan);
+ ParseOutputDeviceData(edid, nullptr, nullptr, &params.display_name, nullptr,
+ nullptr);
+ ParseOutputOverscanFlag(edid, &params.has_overscan);
} else {
VLOG(1) << "Failed to get EDID blob for connector "
<< info->connector()->connector_id;
« no previous file with comments | « ui/ozone/common/gpu/ozone_gpu_messages.h ('k') | ui/views/widget/desktop_aura/desktop_screen_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698