| Index: trunk/src/ui/aura/root_window_host_x11.cc
|
| ===================================================================
|
| --- trunk/src/ui/aura/root_window_host_x11.cc (revision 223638)
|
| +++ trunk/src/ui/aura/root_window_host_x11.cc (working copy)
|
| @@ -363,7 +363,7 @@
|
|
|
| RootWindowHostX11::RootWindowHostX11(const gfx::Rect& bounds)
|
| : delegate_(NULL),
|
| - xdisplay_(ui::GetXDisplay()),
|
| + xdisplay_(base::MessagePumpX11::GetDefaultXDisplay()),
|
| xwindow_(0),
|
| x_root_window_(DefaultRootWindow(xdisplay_)),
|
| current_cursor_(ui::kCursorNull),
|
| @@ -1090,7 +1090,7 @@
|
|
|
| // static
|
| gfx::Size RootWindowHost::GetNativeScreenSize() {
|
| - ::Display* xdisplay = ui::GetXDisplay();
|
| + ::Display* xdisplay = base::MessagePumpX11::GetDefaultXDisplay();
|
| return gfx::Size(DisplayWidth(xdisplay, 0), DisplayHeight(xdisplay, 0));
|
| }
|
|
|
|
|