| Index: content/renderer/render_process_impl.cc
|
| diff --git a/content/renderer/render_process_impl.cc b/content/renderer/render_process_impl.cc
|
| index 4bce329a06593cefad21c13bddaab28f63aa8912..f8a4893b966eb5b805864b678e0fe0420b7d6640 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()
|
| @@ -72,10 +69,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)) {
|
|
|