Index: android_webview/lib/main/aw_main_delegate.cc |
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc |
index a9f6bf6aee0c0f7fecff85f615c488660dbcef2c..68f8d7c978b2795e5dc77fa18de8aca7f7ca6a31 100644 |
--- a/android_webview/lib/main/aw_main_delegate.cc |
+++ b/android_webview/lib/main/aw_main_delegate.cc |
@@ -16,6 +16,7 @@ |
#include "android_webview/native/external_video_surface_container_impl.h" |
#include "android_webview/renderer/aw_content_renderer_client.h" |
#include "base/command_line.h" |
+#include "base/cpu.h" |
#include "base/lazy_instance.h" |
#include "base/logging.h" |
#include "base/memory/scoped_ptr.h" |
@@ -83,6 +84,11 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) { |
void AwMainDelegate::PreSandboxStartup() { |
// TODO(torne): When we have a separate renderer process, we need to handle |
// being passed open FDs for the resource paks here. |
+#if defined(ARCH_CPU_ARM_FAMILY) |
+ // Create an instance of the CPU class to parse /proc/cpuinfo and cache |
+ // cpu_brand info. |
+ base::CPU cpu_info; |
+#endif |
} |
void AwMainDelegate::SandboxInitialized(const std::string& process_type) { |