mirror of
https://github.com/electron/electron.git
synced 2026-01-08 07:04:01 -05:00
refactor: remove spellcheck::kWinDelaySpellcheckServiceInit patch (#48843)
refactor: remove spellcheck::kWinDelaySpellcheckServiceInit patch
This commit is contained in:
@@ -586,6 +586,7 @@ Session::Session(v8::Isolate* isolate, ElectronBrowserContext* browser_context)
|
||||
if (auto* service =
|
||||
SpellcheckServiceFactory::GetForContext(browser_context)) {
|
||||
service->SetHunspellObserver(this);
|
||||
service->InitializeDictionaries(base::DoNothing());
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -64,10 +64,6 @@ void InitializeFeatureList() {
|
||||
std::string(",") + network::features::kLocalNetworkAccessChecks.name;
|
||||
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
disable_features +=
|
||||
// Delayed spellcheck initialization is causing the
|
||||
// 'custom dictionary word list API' spec to crash.
|
||||
std::string(",") + spellcheck::kWinDelaySpellcheckServiceInit.name;
|
||||
// Refs https://issues.chromium.org/issues/401996981
|
||||
// TODO(deepak1556): Remove this once test added in
|
||||
// https://github.com/electron/electron/pull/12904
|
||||
|
||||
Reference in New Issue
Block a user