From 778772710a35ae078d551d272cae03e9ef88c1e0 Mon Sep 17 00:00:00 2001 From: deepak1556 Date: Sat, 22 Jul 2017 11:27:48 +0530 Subject: [PATCH] intialize WebTextCheckClient https://codereview.chromium.org/2791753003 --- atom/renderer/api/atom_api_web_frame.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/atom/renderer/api/atom_api_web_frame.cc b/atom/renderer/api/atom_api_web_frame.cc index b7800f1755cc..a265b942f31f 100644 --- a/atom/renderer/api/atom_api_web_frame.cc +++ b/atom/renderer/api/atom_api_web_frame.cc @@ -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) {