| Index: mojo/runner/host/child_process.cc
|
| diff --git a/mojo/runner/host/child_process.cc b/mojo/runner/host/child_process.cc
|
| index a9f07bb7325962ca892211b4eef03ea942d08ebd..07c574a0573edac704e2b172b6d4c0b0cf668764 100644
|
| --- a/mojo/runner/host/child_process.cc
|
| +++ b/mojo/runner/host/child_process.cc
|
| @@ -361,15 +361,14 @@ int ChildProcessMain() {
|
| base::i18n::InitializeICU();
|
| if (app_library)
|
| CallLibraryEarlyInitialization(app_library);
|
| -#if defined(OS_LINUX) && !defined(OS_ANDROID)
|
| - if (command_line.HasSwitch(switches::kEnableSandbox)) {
|
| #if !defined(OFFICIAL_BUILD)
|
| - // Initialize stack dumping just before initializing sandbox to make
|
| - // sure symbol names in all loaded libraries will be cached.
|
| - base::debug::EnableInProcessStackDumping();
|
| + // Initialize stack dumping just before initializing sandbox to make
|
| + // sure symbol names in all loaded libraries will be cached.
|
| + base::debug::EnableInProcessStackDumping();
|
| #endif
|
| +#if defined(OS_LINUX) && !defined(OS_ANDROID)
|
| + if (command_line.HasSwitch(switches::kEnableSandbox))
|
| sandbox = InitializeSandbox();
|
| - }
|
| #endif
|
|
|
| embedder::ScopedPlatformHandle platform_channel =
|
|
|