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

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

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 8 years, 10 months 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 49ff6b6f320f3eb3c71062808ef9727f728204a5..b429b8b955de514de16c6d6b231cae8a64c2388a 100644
--- a/chrome/browser/tab_contents/spellchecker_submenu_observer_mac.cc
+++ b/chrome/browser/tab_contents/spellchecker_submenu_observer_mac.cc
@@ -120,12 +120,12 @@ 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;
case IDC_SPELLPANEL_TOGGLE:
rvh->Send(new SpellCheckMsg_ToggleSpellPanel(
- rvh->routing_id(), spellcheck_mac::SpellingPanelVisible()));
+ rvh->GetRoutingID(), spellcheck_mac::SpellingPanelVisible()));
break;
}
}

Powered by Google App Engine
This is Rietveld 408576698