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

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: . 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 04a1a13951833933eb8a0a879fce09f4cc246c86..4de35ff76585c3da1d53afe48bd54ec4121a3b90 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -123,6 +123,7 @@
#include "content/common/in_process_child_thread_params.h"
#include "content/common/mojo/channel_init.h"
#include "content/common/mojo/mojo_messages.h"
+#include "content/common/mojo/mojo_shell_connection_impl.h"
#include "content/common/render_process_messages.h"
#include "content/common/resource_messages.h"
#include "content/common/site_isolation_policy.h"
@@ -1543,6 +1544,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/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698