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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 1472063007: mustash: enable GPU Compositing in renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address issues. Created 5 years 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/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 8834c0d31242f7b710ed928c71d54df267e86a97..0301041436eaf306c3b84480be423c751b1ef930 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -224,6 +224,7 @@
#if defined(MOJO_SHELL_CLIENT)
#include "content/browser/mojo/mojo_shell_client_host.h"
+#include "content/common/mojo/mojo_shell_connection_impl.h"
#endif
#if defined(OS_WIN)
@@ -1544,6 +1545,11 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
renderer_cmd->AppendSwitch(switches::kWaitForDebugger);
}
}
+
+#if defined(MOJO_SHELL_CLIENT)
+ if (IsRunningInMojoShell())
+ renderer_cmd->AppendSwitch(switches::kEnableMojoShellConnection);
+#endif
}
base::ProcessHandle RenderProcessHostImpl::GetHandle() const {
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_mus.cc » ('j') | content/public/common/content_switches.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698