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 9011a7f7afc6144591d1f0c76a57482ba5dac85c..05c22823477e57278f10787475f2ad22ce0b49c3 100644 |
--- a/chrome/browser/tab_contents/spellchecker_submenu_observer_hunspell.cc |
+++ b/chrome/browser/tab_contents/spellchecker_submenu_observer_hunspell.cc |
@@ -175,7 +175,7 @@ void SpellCheckerSubMenuObserver::ExecuteCommand(int command_id) { |
RenderViewHost* rvh = proxy_->GetRenderViewHost(); |
switch (command_id) { |
case IDC_CHECK_SPELLING_OF_THIS_FIELD: |
- rvh->Send(new SpellCheckMsg_ToggleSpellCheck(rvh->routing_id())); |
+ rvh->Send(new SpellCheckMsg_ToggleSpellCheck(rvh->GetRoutingID())); |
break; |
} |
} |