Index: ui/views/test/ui_controls_factory_desktop_aurax11.cc |
diff --git a/ui/views/test/ui_controls_factory_desktop_aurax11.cc b/ui/views/test/ui_controls_factory_desktop_aurax11.cc |
index 117a268df4d508908e036884a563fabe175a0db5..c43e67b57f6cfeb5725d864b22c5cf4e215b2e80 100644 |
--- a/ui/views/test/ui_controls_factory_desktop_aurax11.cc |
+++ b/ui/views/test/ui_controls_factory_desktop_aurax11.cc |
@@ -45,7 +45,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. |