| 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 89ea817147ffba719d4135875eb2af25acfc2460..915a5cd99224726cf95002b44a7777d315a93805 100644
|
| --- a/ui/views/widget/desktop_aura/desktop_screen_x11.cc
|
| +++ b/ui/views/widget/desktop_aura/desktop_screen_x11.cc
|
| @@ -310,8 +310,7 @@
|
| crtc(XRRGetCrtcInfo(xdisplay_, resources.get(), output_info->crtc));
|
|
|
| int64_t display_id = -1;
|
| - if (!ui::EDIDParserX11(output_id).GetDisplayId(static_cast<uint8_t>(i),
|
| - &display_id)) {
|
| + if (!ui::GetDisplayId(output_id, 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;
|
|
|