| Index: ash/test/ash_test_base.cc
|
| diff --git a/ash/test/ash_test_base.cc b/ash/test/ash_test_base.cc
|
| index 49f1d08077e750f8cfc793373c7302c3a9d3e66b..61fa2180a51568fbc6488f9f1dcd584f598532a9 100644
|
| --- a/ash/test/ash_test_base.cc
|
| +++ b/ash/test/ash_test_base.cc
|
| @@ -49,7 +49,7 @@
|
| #endif
|
|
|
| #if defined(USE_X11)
|
| -#include <X11/Xlib.h>
|
| +#include "ui/gfx/x/x11_connection.h"
|
| #endif
|
|
|
| namespace ash {
|
| @@ -98,7 +98,7 @@ AshTestBase::AshTestBase()
|
| // This is needed for tests which use this base class but are run in browser
|
| // test binaries so don't get the default initialization in the unit test
|
| // suite.
|
| - XInitThreads();
|
| + gfx::InitializeThreadedX11();
|
| #endif
|
|
|
| thread_bundle_.reset(new content::TestBrowserThreadBundle);
|
|
|