| Index: ui/compositor/test/test_suite.cc
|
| diff --git a/ui/compositor/test/test_suite.cc b/ui/compositor/test/test_suite.cc
|
| index 58329f20bd263328be51a0935db1edee7abb1f88..3f89ccee9bf0fd4c3e77a3c12f2783f7fd1ff5ac 100644
|
| --- a/ui/compositor/test/test_suite.cc
|
| +++ b/ui/compositor/test/test_suite.cc
|
| @@ -28,19 +28,15 @@ void CompositorTestSuite::Initialize() {
|
| #if defined(USE_X11)
|
| XInitThreads();
|
| #endif
|
| -#if defined(OS_LINUX)
|
| - gfx::InitializeGLBindings(gfx::kGLImplementationOSMesaGL);
|
| -#endif
|
| + CHECK(gfx::InitializeGLBindings(gfx::kGLImplementationOSMesaGL));
|
| base::TestSuite::Initialize();
|
|
|
| gfx::RegisterPathProvider();
|
|
|
| message_loop_.reset(new base::MessageLoop(base::MessageLoop::TYPE_UI));
|
| - Compositor::Initialize();
|
| }
|
|
|
| void CompositorTestSuite::Shutdown() {
|
| - Compositor::Terminate();
|
| message_loop_.reset();
|
|
|
| base::TestSuite::Shutdown();
|
|
|