| Index: chrome/browser/tab_contents/spellchecker_submenu_observer_hunspell.cc
|
| diff --git a/chrome/browser/tab_contents/spellchecker_submenu_observer_hunspell.cc b/chrome/browser/tab_contents/spellchecker_submenu_observer_hunspell.cc
|
| index 7185ff0f60a4fed7eac699705cbf82aeba166ff9..a4be51f391222390ccd9e6d91a1226192fc6cc5b 100644
|
| --- a/chrome/browser/tab_contents/spellchecker_submenu_observer_hunspell.cc
|
| +++ b/chrome/browser/tab_contents/spellchecker_submenu_observer_hunspell.cc
|
| @@ -159,14 +159,11 @@ void SpellCheckerSubMenuObserver::ExecuteCommand(int command_id) {
|
| return;
|
| }
|
|
|
| - content::RenderViewHost* rvh = proxy_->GetRenderViewHost();
|
| switch (command_id) {
|
| case IDC_CHECK_SPELLING_WHILE_TYPING:
|
| profile->GetPrefs()->SetBoolean(
|
| prefs::kEnableSpellCheck,
|
| !profile->GetPrefs()->GetBoolean(prefs::kEnableSpellCheck));
|
| - if (rvh)
|
| - rvh->Send(new SpellCheckMsg_ToggleSpellCheck(rvh->GetRoutingID()));
|
| - break;
|
| + break;
|
| }
|
| }
|
|
|