| 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 a837e9b4a5f5df84819874fcf2f1c0131c556144..c7e14c069b00f4df3a8d7bf3076292d5a02850a4 100644
|
| --- a/ui/compositor/test/in_process_context_factory.cc
|
| +++ b/ui/compositor/test/in_process_context_factory.cc
|
| @@ -74,17 +74,6 @@ InProcessContextFactory::InProcessContextFactory(
|
| DCHECK_NE(gfx::GetGLImplementation(), gfx::kGLImplementationNone)
|
| << "If running tests, ensure that main() is calling "
|
| << "gfx::GLSurface::InitializeOneOffForTests()";
|
| -
|
| -#if defined(OS_CHROMEOS)
|
| - bool use_thread = !base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kUIDisableThreadedCompositing);
|
| -#else
|
| - bool use_thread = false;
|
| -#endif
|
| - if (use_thread) {
|
| - compositor_thread_.reset(new base::Thread("Browser Compositor"));
|
| - compositor_thread_->Start();
|
| - }
|
| }
|
|
|
| InProcessContextFactory::~InProcessContextFactory() {
|
|
|