mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)"
This reverts commit 1918e76913.
This commit is contained in:
@@ -211,11 +211,10 @@ void SpellCheckClient::SpellCheckWords(
|
||||
v8::Local<v8::FunctionTemplate> templ = mate::CreateFunctionTemplate(
|
||||
isolate_, base::Bind(&SpellCheckClient::OnSpellCheckDone, AsWeakPtr()));
|
||||
|
||||
auto context = isolate_->GetCurrentContext();
|
||||
v8::Local<v8::Value> args[] = {mate::ConvertToV8(isolate_, words),
|
||||
templ->GetFunction(context).ToLocalChecked()};
|
||||
templ->GetFunction()};
|
||||
// Call javascript with the words and the callback function
|
||||
scope.spell_check_->Call(context, scope.provider_, 2, args).ToLocalChecked();
|
||||
scope.spell_check_->Call(scope.provider_, 2, args);
|
||||
}
|
||||
|
||||
// Returns whether or not the given string is a contraction.
|
||||
|
||||
Reference in New Issue
Block a user