Index: chrome/app/chrome_main_delegate.cc |
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc |
index 4162af83ffa18a9037303fb3002497c325bec0da..8d7b29658f345dd5cef4b057dbd7ae714e586c55 100644 |
--- a/chrome/app/chrome_main_delegate.cc |
+++ b/chrome/app/chrome_main_delegate.cc |
@@ -5,6 +5,7 @@ |
#include "chrome/app/chrome_main_delegate.h" |
#include "base/command_line.h" |
+#include "base/cpu.h" |
#include "base/files/file_path.h" |
#include "base/i18n/rtl.h" |
#include "base/lazy_instance.h" |
@@ -647,6 +648,11 @@ void ChromeMainDelegate::PreSandboxStartup() { |
#if defined(OS_WIN) |
child_process_logging::Init(); |
#endif |
+#if defined(ARCH_CPU_ARM_FAMILY) && (defined(OS_ANDROID) || defined(OS_LINUX)) |
+ // Create an instance of the CPU class to parse /proc/cpuinfo and cache |
+ // cpu_brand info. |
+ base::CPU cpu_info; |
+#endif |
// Initialize the user data dir for any process type that needs it. |
if (chrome::ProcessNeedsProfileDir(process_type)) |