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

Unified Diff: chrome/browser/tab_contents/spelling_menu_observer.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/spelling_menu_observer.cc
diff --git a/chrome/browser/tab_contents/spelling_menu_observer.cc b/chrome/browser/tab_contents/spelling_menu_observer.cc
index 5729ef52e51f6dcfc985ea62a83d4a7a220330b2..19a403f3a45c0e48e2adb1528f107667cf8108d6 100644
--- a/chrome/browser/tab_contents/spelling_menu_observer.cc
+++ b/chrome/browser/tab_contents/spelling_menu_observer.cc
@@ -225,8 +225,8 @@ void SpellingMenuObserver::ExecuteCommand(int command_id) {
// the profile and stop integrating the spelling service immediately.
if (!integrate_spelling_service_) {
RenderViewHost* rvh = proxy_->GetRenderViewHost();
- gfx::Rect rect = rvh->view()->GetViewBounds();
- ConfirmBubbleModel::Show(rvh->view()->GetNativeView(),
+ gfx::Rect rect = rvh->GetView()->GetViewBounds();
+ ConfirmBubbleModel::Show(rvh->GetView()->GetNativeView(),
gfx::Point(rect.CenterPoint().x(), rect.y()),
new SpellingBubbleModel(proxy_->GetProfile()));
} else {
« no previous file with comments | « chrome/browser/tab_contents/spellchecker_submenu_observer_mac.cc ('k') | chrome/browser/tab_contents/tab_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698