Index: content/renderer/render_process_impl.cc |
diff --git a/content/renderer/render_process_impl.cc b/content/renderer/render_process_impl.cc |
index 50a4b6e46ea3c25a31a466454062baa06b2921a0..7fcf90601f3fcbe1f1da548bea1a0b909c5b74dd 100644 |
--- a/content/renderer/render_process_impl.cc |
+++ b/content/renderer/render_process_impl.cc |
@@ -18,6 +18,7 @@ |
#include "base/message_loop/message_loop.h" |
#include "base/strings/utf_string_conversions.h" |
#include "base/sys_info.h" |
+#include "base/sys_utils.h" |
#include "content/child/child_thread.h" |
#include "content/child/npapi/plugin_instance.h" |
#include "content/child/npapi/plugin_lib.h" |
@@ -36,10 +37,6 @@ |
#include "base/mac/mac_util.h" |
#endif |
-#if defined(OS_ANDROID) |
-#include "base/android/sys_utils.h" |
-#endif |
- |
namespace content { |
RenderProcessImpl::RenderProcessImpl() |
@@ -71,10 +68,8 @@ RenderProcessImpl::RenderProcessImpl() |
// Out of process dev tools rely upon auto break behavior. |
webkit_glue::SetJavaScriptFlags("--debugger-auto-break"); |
-#if defined(OS_ANDROID) |
- if (base::android::SysUtils::IsLowEndDevice()) |
+ if (base::SysUtils::IsLowEndDevice()) |
webkit_glue::SetJavaScriptFlags("--optimize-for-size"); |
-#endif |
const CommandLine& command_line = *CommandLine::ForCurrentProcess(); |
if (command_line.HasSwitch(switches::kJavaScriptFlags)) { |