Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7541)

Unified Diff: chrome/browser/ui/views/location_bar/zoom_bubble_view.cc

Issue 730833006: MacViews: Implement event monitoring for a specific window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_);

Powered by Google App Engine
This is Rietveld 408576698