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 fd6b6ae60c3610ce61b5e46b7f56b0e313f30f52..989aaefee6339bd586bfb15433c4eee451fde1d6 100644 |
--- a/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc |
+++ b/chrome/browser/ui/views/location_bar/zoom_bubble_view.cc |
@@ -91,7 +91,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_); |