Index: chrome/browser/zygote_main_linux.cc |
diff --git a/chrome/browser/zygote_main_linux.cc b/chrome/browser/zygote_main_linux.cc |
index a163550287bea0cb17c23fc243fb93d51987749d..2df10299fc9b6954b6bda0abeeec66dd0e245b6f 100644 |
--- a/chrome/browser/zygote_main_linux.cc |
+++ b/chrome/browser/zygote_main_linux.cc |
@@ -16,6 +16,7 @@ |
#include "base/global_descriptors_posix.h" |
#include "base/pickle.h" |
#include "base/rand_util.h" |
+#include "base/sys_info.h" |
#include "base/unix_domain_socket_posix.h" |
#include "chrome/browser/zygote_host_linux.h" |
@@ -310,6 +311,8 @@ static bool MaybeEnterChroot() { |
// files and cache the results or the descriptors. |
base::RandUint64(); |
+ base::SysInfo::MaxSharedMemorySize(); |
+ |
// To make wcstombs/mbstowcs work in a renderer, setlocale() has to be |
// called before the sandbox is triggered. It's possible to avoid calling |
// setlocale() by pulling out the conversion between FilePath and |