| Index: chrome/renderer/spellchecker/spellcheck.cc
|
| diff --git a/chrome/renderer/spellchecker/spellcheck.cc b/chrome/renderer/spellchecker/spellcheck.cc
|
| index a1c3e4c81b27a95a995b979e2cb59dd3c642798c..a10e17c7a5f2a21b34679c7cdb3bd23d06d7282a 100644
|
| --- a/chrome/renderer/spellchecker/spellcheck.cc
|
| +++ b/chrome/renderer/spellchecker/spellcheck.cc
|
| @@ -12,7 +12,6 @@
|
| #include "base/location.h"
|
| #include "base/logging.h"
|
| #include "base/single_thread_task_runner.h"
|
| -#include "base/sys_info.h"
|
| #include "base/thread_task_runner_handle.h"
|
| #include "chrome/common/channel_info.h"
|
| #include "chrome/common/chrome_switches.h"
|
| @@ -21,7 +20,6 @@
|
| #include "chrome/common/spellcheck_result.h"
|
| #include "chrome/renderer/spellchecker/spellcheck_language.h"
|
| #include "chrome/renderer/spellchecker/spellcheck_provider.h"
|
| -#include "components/version_info/version_info.h"
|
| #include "content/public/renderer/render_thread.h"
|
| #include "content/public/renderer/render_view.h"
|
| #include "content/public/renderer/render_view_visitor.h"
|
| @@ -537,14 +535,7 @@ void SpellCheck::CreateTextCheckingResults(
|
|
|
| bool SpellCheck::IsSpellcheckEnabled() {
|
| #if defined(OS_ANDROID)
|
| - if (base::SysInfo::IsLowEndDevice())
|
| - return false;
|
| -
|
| - version_info::Channel channel = chrome::GetChannel();
|
| - if (channel == version_info::Channel::DEV ||
|
| - channel == version_info::Channel::CANARY) {
|
| - return true;
|
| - } else if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kEnableAndroidSpellChecker)) {
|
| return false;
|
| }
|
|
|