Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Unified Diff: ui/compositor/test/test_suite.cc

Issue 21052007: aura: Clean up compositor initialization/destruction. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanupcompositor: UseRealGLBindings for CompositingRWHVBrowserTests on win_rel Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/compositor/layer_unittest.cc ('k') | ui/keyboard/keyboard_test_suite.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « ui/compositor/layer_unittest.cc ('k') | ui/keyboard/keyboard_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698