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

Unified Diff: content/browser/browser_main_loop.cc

Issue 2762873002: Remove --no-use-mus-in-renderer (Closed)
Patch Set: Created 3 years, 9 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: content/browser/browser_main_loop.cc
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index 5a035af978b5428e5d09c223af05f0ce0b5a9975..5e96a960c6ce476aa5682fbf51b0b8bcb8069f30 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -1475,9 +1475,7 @@ int BrowserMainLoop::BrowserThreadsStarted() {
ImageTransportFactory::Initialize();
ImageTransportFactory::GetInstance()->SetGpuChannelEstablishFactory(factory);
#if defined(USE_AURA)
- bool use_mus_in_renderer = !base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kNoUseMusInRenderer);
- if (!use_mus_in_renderer || env_->mode() == aura::Env::Mode::LOCAL) {
+ if (env_->mode() == aura::Env::Mode::LOCAL) {
env_->set_context_factory(GetContextFactory());
env_->set_context_factory_private(GetContextFactoryPrivate());
}

Powered by Google App Engine
This is Rietveld 408576698