Chromium Code Reviews| Index: ui/compositor/test/in_process_context_factory.cc |
| diff --git a/ui/compositor/test/in_process_context_factory.cc b/ui/compositor/test/in_process_context_factory.cc |
| index f51d6ccf66f739ef7163531b0c96a0db1a8937ea..94f504385d6906d4ca31ffdd036ee973b88ca76f 100644 |
| --- a/ui/compositor/test/in_process_context_factory.cc |
| +++ b/ui/compositor/test/in_process_context_factory.cc |
| @@ -70,17 +70,6 @@ InProcessContextFactory::InProcessContextFactory(bool context_factory_for_test) |
| DCHECK_NE(gfx::GetGLImplementation(), gfx::kGLImplementationNone) |
| << "If running tests, ensure that main() is calling " |
| << "gfx::GLSurface::InitializeOneOffForTests()"; |
| - |
| -#if defined(OS_CHROMEOS) |
| - bool use_thread = !CommandLine::ForCurrentProcess()->HasSwitch( |
| - switches::kUIDisableThreadedCompositing); |
|
danakj
2014/12/06 17:17:43
Not: remove the switch too if these are the only u
|
| -#else |
| - bool use_thread = false; |
| -#endif |
| - if (use_thread) { |
| - compositor_thread_.reset(new base::Thread("Browser Compositor")); |
| - compositor_thread_->Start(); |
| - } |
| } |
| InProcessContextFactory::~InProcessContextFactory() {} |