intialize WebTextCheckClient https://codereview.chromium.org/2791753003
This commit is contained in:
parent
fb02343ec0
commit
778772710a
1 changed files with 1 additions and 0 deletions
|
@ -142,6 +142,7 @@ void WebFrame::SetSpellCheckProvider(mate::Arguments* args,
|
|||
spell_check_client_.reset(new SpellCheckClient(
|
||||
language, auto_spell_correct_turned_on, args->isolate(), provider));
|
||||
web_frame_->View()->SetSpellCheckClient(spell_check_client_.get());
|
||||
web_frame_->SetTextCheckClient(spell_check_client_.get());
|
||||
}
|
||||
|
||||
void WebFrame::RegisterURLSchemeAsSecure(const std::string& scheme) {
|
||||
|
|
Loading…
Reference in a new issue