| Index: chrome/app/chrome_main.cc
|
| diff --git a/chrome/app/chrome_main.cc b/chrome/app/chrome_main.cc
|
| index 20de46a062f366245ea247a6aceba15248878fc0..9e87a90b1128f7f7fa9341ed4245ff06201f5645 100644
|
| --- a/chrome/app/chrome_main.cc
|
| +++ b/chrome/app/chrome_main.cc
|
| @@ -22,6 +22,7 @@
|
| #include "crypto/nss_util.h"
|
| #include "chrome/browser/defaults.h"
|
| #include "chrome/browser/diagnostics/diagnostics_main.h"
|
| +#include "chrome/nacl/nacl_fork_delegate_linux.h"
|
| #include "chrome/browser/platform_util.h"
|
| #include "chrome/common/chrome_constants.h"
|
| #include "chrome/common/chrome_content_client.h"
|
| @@ -100,7 +101,8 @@ extern int WorkerMain(const MainFunctionParams&);
|
| extern int NaClMain(const MainFunctionParams&);
|
| extern int UtilityMain(const MainFunctionParams&);
|
| extern int ProfileImportMain(const MainFunctionParams&);
|
| -extern int ZygoteMain(const MainFunctionParams&);
|
| +extern int ZygoteMain(const MainFunctionParams&,
|
| + ZygoteForkDelegate* forkdelegate);
|
| #if defined(_WIN64)
|
| extern int NaClBrokerMain(const MainFunctionParams&);
|
| #endif
|
| @@ -414,7 +416,7 @@ int RunZygote(const MainFunctionParams& main_function_params) {
|
| };
|
|
|
| // This function call can return multiple times, once per fork().
|
| - if (!ZygoteMain(main_function_params))
|
| + if (!ZygoteMain(main_function_params, new NaClForkDelegate()))
|
| return 1;
|
|
|
| // Zygote::HandleForkRequest may have reallocated the command
|
|
|