Chromium Code Reviews| Index: trunk/src/ui/base/x/events_x.cc |
| =================================================================== |
| --- trunk/src/ui/base/x/events_x.cc (revision 223638) |
| +++ trunk/src/ui/base/x/events_x.cc (working copy) |
| @@ -260,7 +260,9 @@ |
| } |
| Atom GetNoopEventAtom() { |
| - return XInternAtom(ui::GetXDisplay(), "noop", False); |
| + return XInternAtom( |
| + base::MessagePumpX11::GetDefaultXDisplay(), |
| + "noop", False); |
| } |
| } // namespace |