Index: ash/system/tray/system_tray_bubble.cc |
diff --git a/ash/system/tray/system_tray_bubble.cc b/ash/system/tray/system_tray_bubble.cc |
index d712b2566316f6303d1f2f2182470b0fdbd45a88..e740202cb4ab1765e845c638d8d7f80f1fe9c277 100644 |
--- a/ash/system/tray/system_tray_bubble.cc |
+++ b/ash/system/tray/system_tray_bubble.cc |
@@ -196,7 +196,11 @@ void SystemTrayBubble::InitView(views::View* anchor, |
init_params->max_height = GetDetailedBubbleMaxHeight(); |
} |
- bubble_view_ = TrayBubbleView::Create(anchor, tray_, init_params); |
+ init_params->delegate = tray_; |
+ // Place the bubble on same display as this system tray. |
+ init_params->parent_window = tray_->GetBubbleWindowContainer(); |
+ init_params->anchor_view = anchor; |
+ bubble_view_ = new TrayBubbleView(*init_params); |
UpdateBottomPadding(); |
bubble_view_->set_adjust_if_offscreen(false); |
CreateItemViews(login_status); |