Chromium Code Reviews| Index: chrome/app/chrome_main.cc |
| diff --git a/chrome/app/chrome_main.cc b/chrome/app/chrome_main.cc |
| index 8e1dcc577a1b9bba422497d3618a3fd91333c4ca..5d63c3b6f639ebb203b0ec376825c5577f6ffe73 100644 |
| --- a/chrome/app/chrome_main.cc |
| +++ b/chrome/app/chrome_main.cc |
| @@ -18,6 +18,7 @@ |
| #include "chrome/app/mash/mash_runner.h" |
| #include "chrome/common/channel_info.h" |
| #include "components/version_info/version_info.h" |
| +#include "services/service_manager/runner/common/client_util.h" |
| #endif |
| #if defined(OS_WIN) |
| @@ -103,6 +104,8 @@ int ChromeMain(int argc, const char** argv) { |
| if (command_line->HasSwitch("mash")) |
| return MashMain(); |
| WaitForMashDebuggerIfNecessary(); |
| + if (service_manager::ServiceManagerIsRemote()) |
| + params.env_mode = aura::Env::Mode::MUS; |
|
Peng
2017/01/03 20:15:38
This change breaks exo in mus. The exo crashes at
sadrul
2017/01/03 20:19:31
Looks like exo is trying to use ash? We need to ma
|
| } |
| #endif // BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES) |