Index: chrome/app/chrome_main_delegate.cc |
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc |
index 486cd42220d210c531f6fcaaa862f7ffb5dffb0e..428c768eda060cb9ab645689f360eeb6828cbe9c 100644 |
--- a/chrome/app/chrome_main_delegate.cc |
+++ b/chrome/app/chrome_main_delegate.cc |
@@ -71,8 +71,8 @@ |
#endif |
#if !defined(DISABLE_NACL) && defined(OS_LINUX) |
+#include "components/nacl/app/nacl_fork_delegates_linux.h" |
#include "components/nacl/common/nacl_paths.h" |
-#include "components/nacl/zygote/nacl_fork_delegate_linux.h" |
#endif |
#if defined(OS_CHROMEOS) |
@@ -858,7 +858,7 @@ bool ChromeMainDelegate::DelaySandboxInitialization( |
void ChromeMainDelegate::ZygoteStarting( |
ScopedVector<content::ZygoteForkDelegate>* delegates) { |
#if !defined(DISABLE_NACL) |
- delegates->push_back(new NaClForkDelegate()); |
+ nacl::AddNaClZygoteForkDelegates(delegates); |
#endif |
} |