Chromium Code Reviews| Index: content/zygote/zygote_main_linux.cc |
| diff --git a/content/zygote/zygote_main_linux.cc b/content/zygote/zygote_main_linux.cc |
| index 6c35502c111b693b54289e3d2eaebda151bfb60c..1b6ce431fc07d264d2a53f9f210a13fedaef1cca 100644 |
| --- a/content/zygote/zygote_main_linux.cc |
| +++ b/content/zygote/zygote_main_linux.cc |
| @@ -20,6 +20,7 @@ |
| #include "base/callback.h" |
| #include "base/command_line.h" |
| #include "base/compiler_specific.h" |
| +#include "base/cpu.h" |
| #include "base/linux_util.h" |
| #include "base/native_library.h" |
| #include "base/pickle.h" |
| @@ -298,6 +299,11 @@ static void ZygotePreSandboxInit() { |
| base::SysInfo::AmountOfPhysicalMemory(); |
| base::SysInfo::MaxSharedMemorySize(); |
| base::SysInfo::NumberOfProcessors(); |
| +#if defined(ARCH_CPU_ARM_FAMILY) && defined(USE_AURA) |
|
Mark Mentovai
2014/03/11 16:17:48
Probably just ARCH_CPU_ARM_FAMILY.
rptr
2014/03/12 15:26:25
Done.
|
| + // Create an instance of CPU class to parse /proc/cpuinfo and cache cpu_brand |
|
Mark Mentovai
2014/03/11 16:17:48
As before.
rptr
2014/03/12 15:26:25
Done.
|
| + // info. |
| + base::CPU cpu_info; |
| +#endif |
| // ICU DateFormat class (used in base/time_format.cc) needs to get the |
| // Olson timezone ID by accessing the zoneinfo files on disk. After |