| Index: chrome/browser/ui/views/speech_recognition_bubble_views.cc
|
| diff --git a/chrome/browser/ui/views/speech_recognition_bubble_views.cc b/chrome/browser/ui/views/speech_recognition_bubble_views.cc
|
| index 0ee10ca674b825a39d6488d004fa20520fe1e60c..9477320c60d415a5f8e3c5f28ffb8d95a9f48461 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))
|
|
|