| Index: content/renderer/render_process_impl.cc
|
| diff --git a/content/renderer/render_process_impl.cc b/content/renderer/render_process_impl.cc
|
| index 8e754b5824749e8941b302c9084ae8ef6de40fb5..f55187bebd6cebd20fe5f17f54f2abb32e384b6c 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()
|
| @@ -61,13 +58,11 @@ RenderProcessImpl::RenderProcessImpl()
|
| }
|
| #endif
|
|
|
| -#if defined(OS_ANDROID)
|
| - if (base::android::SysUtils::IsLowEndDevice()) {
|
| + if (base::SysUtils::IsLowEndDevice()) {
|
| std::string optimize_flag("--optimize-for-size");
|
| v8::V8::SetFlagsFromString(optimize_flag.c_str(),
|
| static_cast<int>(optimize_flag.size()));
|
| }
|
| -#endif
|
|
|
| const CommandLine& command_line = *CommandLine::ForCurrentProcess();
|
| if (command_line.HasSwitch(switches::kJavaScriptFlags)) {
|
|
|