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

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

Issue 781163003: Flip flag to turn CrOS Browser Compositor Single Threaded (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no longer rm switch Created 5 years, 11 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
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 d51120a07e32d7de587930a38d9c5e011efa9416..d9e3dc4197de72d9f166b062399591292c8fdedf 100644
--- a/ui/compositor/test/in_process_context_factory.cc
+++ b/ui/compositor/test/in_process_context_factory.cc
@@ -67,17 +67,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() {}

Powered by Google App Engine
This is Rietveld 408576698