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

Unified Diff: content/renderer/render_widget.cc

Issue 2096643002: Eliminate MojoApplicationHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mah3
Patch Set: . Created 4 years, 6 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
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/shell/browser/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.cc
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc
index bfd38eb9e47c631fdc69e07c222ccebea426b7cd..26d301b752bd4eb17d71100e2ae1bbca131895bc 100644
--- a/content/renderer/render_widget.cc
+++ b/content/renderer/render_widget.cc
@@ -200,8 +200,7 @@ content::RenderWidgetInputHandlerDelegate* GetRenderWidgetInputHandlerDelegate(
content::RenderWidget* widget) {
#if defined(MOJO_SHELL_CLIENT)
const base::CommandLine& cmdline = *base::CommandLine::ForCurrentProcess();
- if (content::MojoShellConnection::GetForProcess() &&
- cmdline.HasSwitch(switches::kUseMusInRenderer)) {
+ if (cmdline.HasSwitch(switches::kUseMusInRenderer)) {
return content::RenderWidgetMusConnection::GetOrCreate(
widget->routing_id());
}
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/shell/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698