diff options
Diffstat (limited to 'chrome/browser/ui/views/speech_recognition_bubble_views.cc')
-rw-r--r-- | chrome/browser/ui/views/speech_recognition_bubble_views.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/views/speech_recognition_bubble_views.cc b/chrome/browser/ui/views/speech_recognition_bubble_views.cc index 0ee10ca..9477320 100644 --- a/chrome/browser/ui/views/speech_recognition_bubble_views.cc +++ b/chrome/browser/ui/views/speech_recognition_bubble_views.cc @@ -126,7 +126,7 @@ void SpeechRecognitionBubbleView::OnWidgetActivationChanged( gfx::Rect SpeechRecognitionBubbleView::GetAnchorRect() { gfx::Rect container_rect; - web_contents_->GetContainerBounds(&container_rect); + web_contents_->GetView()->GetContainerBounds(&container_rect); gfx::Rect anchor(element_rect_); anchor.Offset(container_rect.OffsetFromOrigin()); if (!container_rect.Intersects(anchor)) |