fix: add patch to set the base download URL rather than override it completely (#22385)

Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
This commit is contained in:
trop[bot]
2020-02-28 17:00:44 -08:00
committed by GitHub
parent c702aec1f8
commit 3e90e523eb
3 changed files with 60 additions and 1 deletions

View File

@@ -811,7 +811,7 @@ void SetSpellCheckerDictionaryDownloadURL(gin_helper::ErrorThrower thrower,
"valid URL");
return;
}
SpellcheckHunspellDictionary::SetDownloadURLForTesting(url);
SpellcheckHunspellDictionary::SetBaseDownloadURL(url);
}
v8::Local<v8::Promise> Session::ListWordsInSpellCheckerDictionary() {