Index: chrome/browser/fullscreen_gtk.cc |
diff --git a/chrome/browser/fullscreen_gtk.cc b/chrome/browser/fullscreen_gtk.cc |
index 2835132f1a5e807cefedb96d3a8b8fa32453992e..93994083aa8d9de24d2232f43a0cf9cdb30f9765 100644 |
--- a/chrome/browser/fullscreen_gtk.cc |
+++ b/chrome/browser/fullscreen_gtk.cc |
@@ -26,7 +26,7 @@ void EnumerateAllChildWindows(ui::EnumerateWindowsDelegate* delegate, |
// to old school enumeration of all X windows. |
XID root, parent, *children; |
unsigned int num_children; |
- int status = XQueryTree(ui::GetXDisplay(), window, &root, &parent, |
+ int status = XQueryTree(gfx::GetXDisplay(), window, &root, &parent, |
&children, &num_children); |
if (status) { |
for (long i = static_cast<long>(num_children) - 1; i >= 0; i--) |