chore: remove unnecessary spellchecker revert patch (#38248)

This commit is contained in:
Shelley Vohr 2023-05-15 22:17:00 +02:00 committed by GitHub
parent a1b2dae68e
commit c2d7164021
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 112 deletions

View file

@ -41,10 +41,13 @@ void InitializeFeatureList() {
#endif
#if BUILDFLAG(IS_WIN)
// Disable async spellchecker suggestions for Windows, which causes
// an empty suggestions list to be returned
disable_features +=
std::string(",") + spellcheck::kWinRetrieveSuggestionsOnlyOnDemand.name;
// Disable async spellchecker suggestions for Windows, which causes
// an empty suggestions list to be returned
std::string(",") + spellcheck::kWinRetrieveSuggestionsOnlyOnDemand.name +
// Delayed spellcheck initialization is causing the
// 'custom dictionary word list API' spec to crash.
std::string(",") + spellcheck::kWinDelaySpellcheckServiceInit.name;
#endif
base::FeatureList::InitializeInstance(enable_features, disable_features);
}