Index: trunk/src/content/browser/browser_main_loop.cc |
=================================================================== |
--- trunk/src/content/browser/browser_main_loop.cc (revision 263732) |
+++ trunk/src/content/browser/browser_main_loop.cc (working copy) |
@@ -111,7 +111,7 @@ |
#endif |
#if defined(USE_X11) |
-#include "ui/gfx/x/x11_connection.h" |
+#include <X11/Xlib.h> |
#endif |
#if defined(USE_OZONE) |
@@ -363,7 +363,7 @@ |
#if defined(USE_X11) |
if (parsed_command_line_.HasSwitch(switches::kSingleProcess) || |
parsed_command_line_.HasSwitch(switches::kInProcessGPU)) { |
- if (!gfx::InitializeThreadedX11()) { |
+ if (!XInitThreads()) { |
LOG(ERROR) << "Failed to put Xlib into threaded mode."; |
} |
} |