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. |