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

Unified Diff: ui/views/mus/platform_test_helper_mus.cc

Issue 1722743002: Adds ability for chrome to behave as mojo_runner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge to tip of tree Created 4 years, 10 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
« chrome/common/BUILD.gn ('K') | « ui/views/mus/DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/platform_test_helper_mus.cc
diff --git a/ui/views/mus/platform_test_helper_mus.cc b/ui/views/mus/platform_test_helper_mus.cc
index 9f1d481644460c57061b00e6a0917c38e08f843f..bc99b4bdd7ea891bf212a2b6dd06aea6ad9d7a49 100644
--- a/ui/views/mus/platform_test_helper_mus.cc
+++ b/ui/views/mus/platform_test_helper_mus.cc
@@ -8,7 +8,6 @@
#include "mojo/shell/background/background_shell.h"
#include "mojo/shell/public/cpp/shell_client.h"
#include "mojo/shell/public/cpp/shell_connection.h"
-#include "mojo/shell/runner/host/command_line_switch.h"
#include "ui/views/mus/window_manager_connection.h"
#include "url/gurl.h"
@@ -31,7 +30,7 @@ class PlatformTestHelperMus : public PlatformTestHelper {
base::CommandLine::ForCurrentProcess()->AppendSwitch("use-new-edk");
background_shell_.reset(new mojo::shell::BackgroundShell);
- background_shell_->Init(std::vector<mojo::shell::CommandLineSwitch>());
+ background_shell_->Init(nullptr);
shell_client_.reset(new DefaultShellClient);
shell_connection_.reset(new mojo::ShellConnection(
shell_client_.get(),
« chrome/common/BUILD.gn ('K') | « ui/views/mus/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698