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 { |