| Index: ui/views/widget/desktop_aura/desktop_screen_x11.cc
|
| diff --git a/ui/views/widget/desktop_aura/desktop_screen_x11.cc b/ui/views/widget/desktop_aura/desktop_screen_x11.cc
|
| index 07bcfca61899920bbca2f94f4301df74350af4b2..2fac42cdde38e9a6112b9fea94664053d3aae0e7 100644
|
| --- a/ui/views/widget/desktop_aura/desktop_screen_x11.cc
|
| +++ b/ui/views/widget/desktop_aura/desktop_screen_x11.cc
|
| @@ -310,7 +310,8 @@ std::vector<gfx::Display> DesktopScreenX11::BuildDisplaysFromXRandRInfo() {
|
| crtc(XRRGetCrtcInfo(xdisplay_, resources.get(), output_info->crtc));
|
|
|
| int64_t display_id = -1;
|
| - if (!ui::GetDisplayId(output_id, static_cast<uint8_t>(i), &display_id)) {
|
| + if (!ui::EDIDParserX11(output_id).GetDisplayId(static_cast<uint8_t>(i),
|
| + &display_id)) {
|
| // It isn't ideal, but if we can't parse the EDID data, fallback on the
|
| // display number.
|
| display_id = i;
|
|
|