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

Unified Diff: ui/display/util/x11/edid_parser_x11.cc

Issue 2924343002: Move ui::GetAtom to gfx::GetAtom (Closed)
Patch Set: fix CrOs build Created 3 years, 6 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/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 a39470869595eca312e9368f1e125144be6f7ea8..4c5f68298aee2fd79d52c9ec3919ee9985a9919f 100644
--- a/ui/display/util/x11/edid_parser_x11.cc
+++ b/ui/display/util/x11/edid_parser_x11.cc
@@ -34,8 +34,7 @@ bool GetEDIDProperty(XID output, std::vector<uint8_t>* edid) {
Display* display = gfx::GetXDisplay();
- static Atom edid_property =
- ui::X11AtomCache::GetInstance()->GetAtom(RR_PROPERTY_RANDR_EDID);
+ Atom edid_property = gfx::GetAtom(RR_PROPERTY_RANDR_EDID);
bool has_edid_property = false;
int num_properties = 0;
« no previous file with comments | « ui/display/manager/chromeos/x11/native_display_delegate_x11.cc ('k') | ui/events/devices/x11/device_data_manager_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698