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

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

Issue 12088092: CrOS: Enable threaded UI compositor by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Keep for enable flag for other platforms. Created 7 years, 8 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/compositor_switches.cc ('k') | no next file » | 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 8e3fdb2be5da03ed65003fd2fd487dcee07d3bca..4340bfdcfd0fefa32a4d93641e2d2f9eab7f3f94 100644
--- a/ui/compositor/test/test_suite.cc
+++ b/ui/compositor/test/test_suite.cc
@@ -26,11 +26,8 @@ CompositorTestSuite::CompositorTestSuite(int argc, char** argv)
CompositorTestSuite::~CompositorTestSuite() {}
void CompositorTestSuite::Initialize() {
- bool use_threaded_compositing = CommandLine::ForCurrentProcess()->
- HasSwitch(switches::kUIEnableThreadedCompositing);
#if defined(USE_X11)
- if (use_threaded_compositing)
- XInitThreads();
+ XInitThreads();
#endif
#if defined(OS_LINUX)
gfx::InitializeGLBindings(gfx::kGLImplementationOSMesaGL);
@@ -41,7 +38,7 @@ void CompositorTestSuite::Initialize() {
message_loop_.reset(new MessageLoop(MessageLoop::TYPE_UI));
CompositorTestSupport::Initialize();
- Compositor::Initialize(use_threaded_compositing);
+ Compositor::Initialize();
}
void CompositorTestSuite::Shutdown() {
« no previous file with comments | « ui/compositor/compositor_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698