This commit is contained in:
deepak1556 2017-07-22 11:27:48 +05:30 committed by Aleksei Kuzmin
parent fb02343ec0
commit 778772710a

View file

@ -142,6 +142,7 @@ void WebFrame::SetSpellCheckProvider(mate::Arguments* args,
spell_check_client_.reset(new SpellCheckClient( spell_check_client_.reset(new SpellCheckClient(
language, auto_spell_correct_turned_on, args->isolate(), provider)); language, auto_spell_correct_turned_on, args->isolate(), provider));
web_frame_->View()->SetSpellCheckClient(spell_check_client_.get()); web_frame_->View()->SetSpellCheckClient(spell_check_client_.get());
web_frame_->SetTextCheckClient(spell_check_client_.get());
} }
void WebFrame::RegisterURLSchemeAsSecure(const std::string& scheme) { void WebFrame::RegisterURLSchemeAsSecure(const std::string& scheme) {