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

Unified Diff: chrome/app/mash/mash_runner.cc

Issue 2353783004: Revert of services/shell: Turn on sandboxing for mojo apps. (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | chrome/test/base/mojo_test_connector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/mash/mash_runner.cc
diff --git a/chrome/app/mash/mash_runner.cc b/chrome/app/mash/mash_runner.cc
index 862a776defbfeb1d30b7c0b1514f564c5c8d3c63..78d14daa6f318860186021870f1044fe0473144a 100644
--- a/chrome/app/mash/mash_runner.cc
+++ b/chrome/app/mash/mash_runner.cc
@@ -73,14 +73,6 @@
#if defined(OS_WIN)
command_line->AppendArg(switches::kPrefetchArgumentOther);
#endif
- if (target.instance() == "font_service" || target.instance() == "ui") {
- base::CommandLine::StringVector argv(command_line->argv());
- auto iter = std::find(argv.begin(), argv.end(),
- FILE_PATH_LITERAL("--enable-sandbox"));
- if (iter != argv.end())
- argv.erase(iter);
- *command_line = base::CommandLine(argv);
- }
return;
}
« no previous file with comments | « no previous file | chrome/test/base/mojo_test_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698