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

Unified Diff: chrome/browser/ui/views/status_bubble_views.cc

Issue 387993004: MacViews: Change Widget context type to NativeWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months 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/status_bubble_views.cc
diff --git a/chrome/browser/ui/views/status_bubble_views.cc b/chrome/browser/ui/views/status_bubble_views.cc
index 196915eaee1ab7a5df93d4d5a391ad32630af6da..e0571a03e1d33609c7e99df97ad7b6cec5bbad4a 100644
--- a/chrome/browser/ui/views/status_bubble_views.cc
+++ b/chrome/browser/ui/views/status_bubble_views.cc
@@ -604,7 +604,7 @@ void StatusBubbleViews::Init() {
params.accept_events = false;
params.ownership = views::Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET;
params.parent = frame->GetNativeView();
- params.context = frame->GetNativeView();
+ params.context = frame->GetNativeWindow();
popup_->Init(params);
popup_->GetNativeView()->SetName("StatusBubbleViews");
// We do our own animation and don't want any from the system.

Powered by Google App Engine
This is Rietveld 408576698