| Index: chrome/browser/android/chrome_jni_registrar.cc
|
| diff --git a/chrome/browser/android/chrome_jni_registrar.cc b/chrome/browser/android/chrome_jni_registrar.cc
|
| index 015b8afc6cd1af5214ffa287dadcb1346ea57c67..81a91114899ada80c589a9ba47a4c630c1dfb5cf 100644
|
| --- a/chrome/browser/android/chrome_jni_registrar.cc
|
| +++ b/chrome/browser/android/chrome_jni_registrar.cc
|
| @@ -169,6 +169,7 @@
|
| #include "components/safe_json/android/component_jni_registrar.h"
|
| #include "components/signin/core/browser/android/component_jni_registrar.h"
|
| #include "components/spellcheck/browser/android/component_jni_registrar.h"
|
| +#include "components/spellcheck/spellcheck_build_features.h"
|
| #include "components/sync/android/sync_jni_registrar.h"
|
| #include "components/url_formatter/android/component_jni_registrar.h"
|
| #include "components/variations/android/component_jni_registrar.h"
|
| @@ -369,7 +370,7 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
|
| {"SigninInvestigator", SigninInvestigatorAndroid::Register},
|
| {"SigninManager", SigninManagerAndroid::Register},
|
| {"SingleTabModel", RegisterSingleTabModel},
|
| -#if defined(ENABLE_SPELLCHECK)
|
| +#if BUILDFLAG(ENABLE_SPELLCHECK)
|
| {"SpellCheckerSessionBridge", spellcheck::android::RegisterSpellcheckJni},
|
| #endif
|
| {"SqliteCursor", SQLiteCursor::RegisterSqliteCursor},
|
|
|