diff options
author | dglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-29 20:14:54 +0000 |
---|---|---|
committer | dglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-29 20:14:54 +0000 |
commit | f4d56d16feb0e39aa9ca39e75425b404aeaf3914 (patch) | |
tree | a62bccbe81824787291e9608c3bad1faee8fe037 /base/sys_info.h | |
parent | 80b94a3918114dbc4adf5c73fe3fcfa5adc6720a (diff) | |
download | chromium_src-f4d56d16feb0e39aa9ca39e75425b404aeaf3914.zip chromium_src-f4d56d16feb0e39aa9ca39e75425b404aeaf3914.tar.gz chromium_src-f4d56d16feb0e39aa9ca39e75425b404aeaf3914.tar.bz2 |
Revert 231613 "Enable SysInfo::AmountOfPhysicalMemory to be call..."
> Enable SysInfo::AmountOfPhysicalMemory to be called from within the Linux sandbox.
>
> Trigger caching of SysInfo::AmountOfPhysicalMemory in PreSandboxInit() to enable
> it to be called by the renderer process after the sandbox is sealed.
>
> BUG=312241
>
> Review URL: https://codereview.chromium.org/28833002
TBR=rmcilroy@chromium.org
Review URL: https://codereview.chromium.org/51223003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231626 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/sys_info.h')
-rw-r--r-- | base/sys_info.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/base/sys_info.h b/base/sys_info.h index aa40cad..ba45bfc 100644 --- a/base/sys_info.h +++ b/base/sys_info.h @@ -75,8 +75,7 @@ class BASE_EXPORT SysInfo { static size_t VMAllocationGranularity(); #if defined(OS_POSIX) && !defined(OS_MACOSX) - // Returns the maximum SysV shared memory segment size, or zero if there is no - // limit. + // Returns the maximum SysV shared memory segment size. static size_t MaxSharedMemorySize(); #endif // defined(OS_POSIX) && !defined(OS_MACOSX) |