Index: content/shell/app/shell_main_delegate.cc |
diff --git a/content/shell/app/shell_main_delegate.cc b/content/shell/app/shell_main_delegate.cc |
index eb6442ede48637deb26d09cd6a70ae502bbf6788..3eecb830eaf6a73683928eb0fbe8d4a93b17c13b 100644 |
--- a/content/shell/app/shell_main_delegate.cc |
+++ b/content/shell/app/shell_main_delegate.cc |
@@ -6,6 +6,7 @@ |
#include "base/base_switches.h" |
#include "base/command_line.h" |
+#include "base/cpu.h" |
#include "base/files/file.h" |
#include "base/files/file_path.h" |
#include "base/lazy_instance.h" |
@@ -186,6 +187,11 @@ bool ShellMainDelegate::BasicStartupComplete(int* exit_code) { |
} |
void ShellMainDelegate::PreSandboxStartup() { |
+#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 |
if (CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kEnableCrashReporter)) { |
std::string process_type = |