summaryrefslogtreecommitdiffstats
path: root/ui/compositor/test/test_suite.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/compositor/test/test_suite.cc')
-rw-r--r--ui/compositor/test/test_suite.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/compositor/test/test_suite.cc b/ui/compositor/test/test_suite.cc
index 18b4060..aa21ece 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_surface.h"
+#include "ui/gl/gl_implementation.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();