| Index: ui/compositor/test/test_suite.cc
|
| diff --git a/ui/compositor/test/test_suite.cc b/ui/compositor/test/test_suite.cc
|
| index aa21ece36d14289bee2c75d254075ba7fb05acea..18b4060b7e3091e319cedda4eb840a4183364737 100644
|
| --- a/ui/compositor/test/test_suite.cc
|
| +++ b/ui/compositor/test/test_suite.cc
|
| @@ -9,7 +9,7 @@
|
| #include "ui/compositor/compositor.h"
|
| #include "ui/compositor/compositor_switches.h"
|
| #include "ui/gfx/gfx_paths.h"
|
| -#include "ui/gl/gl_implementation.h"
|
| +#include "ui/gl/gl_surface.h"
|
|
|
| #if defined(USE_X11)
|
| #include <X11/Xlib.h>
|
| @@ -31,8 +31,8 @@ void CompositorTestSuite::Initialize() {
|
| #if defined(USE_X11)
|
| XInitThreads();
|
| #endif
|
| - CHECK(gfx::InitializeStaticGLBindings(gfx::kGLImplementationOSMesaGL));
|
| base::TestSuite::Initialize();
|
| + gfx::GLSurface::InitializeOneOffForTests();
|
|
|
| gfx::RegisterPathProvider();
|
|
|
|
|