Index: chrome/browser/ui/views/location_bar/zoom_bubble_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc b/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc |
index c174f4d527384ab3d7b9a0100fe49d085a5266a7..354d3918d17442d49c7320a612471e86a1319395 100644 |
--- a/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc |
+++ b/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc |
@@ -93,7 +93,7 @@ void ZoomBubbleView::ShowBubble(content::WebContents* web_contents, |
// If we do not have an anchor view, parent the bubble to the content area. |
if (!anchor_to_view) |
- zoom_bubble_->set_parent_window(web_contents->GetTopLevelNativeWindow()); |
+ zoom_bubble_->set_parent_window(web_contents->GetNativeView()); |
views::BubbleDelegateView::CreateBubble(zoom_bubble_); |