| Index: ui/display/util/x11/edid_parser_x11.cc
|
| diff --git a/ui/display/util/x11/edid_parser_x11.cc b/ui/display/util/x11/edid_parser_x11.cc
|
| index c7d8e595d543b602564ea514e5575a069feaa150..a39470869595eca312e9368f1e125144be6f7ea8 100644
|
| --- a/ui/display/util/x11/edid_parser_x11.cc
|
| +++ b/ui/display/util/x11/edid_parser_x11.cc
|
| @@ -10,6 +10,7 @@
|
|
|
| #include "base/strings/string_util.h"
|
| #include "ui/display/util/edid_parser.h"
|
| +#include "ui/gfx/x/x11_atom_cache.h"
|
| #include "ui/gfx/x/x11_types.h"
|
|
|
| namespace display {
|
| @@ -33,9 +34,8 @@ bool GetEDIDProperty(XID output, std::vector<uint8_t>* edid) {
|
|
|
| Display* display = gfx::GetXDisplay();
|
|
|
| - static Atom edid_property = XInternAtom(
|
| - gfx::GetXDisplay(),
|
| - RR_PROPERTY_RANDR_EDID, false);
|
| + static Atom edid_property =
|
| + ui::X11AtomCache::GetInstance()->GetAtom(RR_PROPERTY_RANDR_EDID);
|
|
|
| bool has_edid_property = false;
|
| int num_properties = 0;
|
|
|