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

Unified Diff: ui/aura/test/ui_controls_factory_aurax11.cc

Issue 2914103002: Remove usages of XInternAtom (Closed)
Patch Set: Address sadrul and sergeyu comments Created 3 years, 7 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 | « chrome/browser/media/webrtc/window_icon_util_x11.cc ('k') | ui/aura/window_tree_host_x11.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/ui_controls_factory_aurax11.cc
diff --git a/ui/aura/test/ui_controls_factory_aurax11.cc b/ui/aura/test/ui_controls_factory_aurax11.cc
index ce23851efddcee0d0934b7c45cea0d64fcd4091c..134264569b8df76f15f63a9b7bb9af1f9cd66970 100644
--- a/ui/aura/test/ui_controls_factory_aurax11.cc
+++ b/ui/aura/test/ui_controls_factory_aurax11.cc
@@ -38,7 +38,7 @@ unsigned button_down_mask = 0;
// Returns atom that indidates that the XEvent is marker event.
Atom MarkerEventAtom() {
- return XInternAtom(gfx::GetXDisplay(), "marker_event", False);
+ return ui::GetAtom("marker_event");
}
// Returns true when the event is a marker event.
« no previous file with comments | « chrome/browser/media/webrtc/window_icon_util_x11.cc ('k') | ui/aura/window_tree_host_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698