Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4877)

Unified Diff: chrome/browser/tab_contents/spellchecker_submenu_observer_mac.cc

Issue 11476005: [Spellcheck] Make sure context menu and actual spellcheck state are in sync. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes. Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/tab_contents/spellchecker_submenu_observer_mac.cc
diff --git a/chrome/browser/tab_contents/spellchecker_submenu_observer_mac.cc b/chrome/browser/tab_contents/spellchecker_submenu_observer_mac.cc
index f110bde909bd757706bb15baa7c078acd49ac467..43d30bd2dda4ce613500ac0ca765155454911a08 100644
--- a/chrome/browser/tab_contents/spellchecker_submenu_observer_mac.cc
+++ b/chrome/browser/tab_contents/spellchecker_submenu_observer_mac.cc
@@ -113,8 +113,6 @@ void SpellCheckerSubMenuObserver::ExecuteCommand(int command_id) {
profile->GetPrefs()->SetBoolean(
prefs::kEnableSpellCheck,
!profile->GetPrefs()->GetBoolean(prefs::kEnableSpellCheck));
- if (rvh)
- rvh->Send(new SpellCheckMsg_ToggleSpellCheck(rvh->GetRoutingID()));
break;
case IDC_SPELLPANEL_TOGGLE:
« no previous file with comments | « chrome/browser/tab_contents/spellchecker_submenu_observer_hunspell.cc ('k') | chrome/common/spellcheck_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698