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..254f1ebf8d9d1e6aea6e57a470f3bbbb1abf6f6f 100644 |
--- a/ash/system/tray/system_tray_bubble.cc |
+++ b/ash/system/tray/system_tray_bubble.cc |
@@ -196,7 +196,9 @@ void SystemTrayBubble::InitView(views::View* anchor, |
init_params->max_height = GetDetailedBubbleMaxHeight(); |
} |
- bubble_view_ = TrayBubbleView::Create(anchor, tray_, init_params); |
+ // Place the bubble on same display as this system tray. |
+ bubble_view_ = new TrayBubbleView(tray_->GetBubbleWindowContainer(), anchor, |
+ tray_, *init_params); |
UpdateBottomPadding(); |
bubble_view_->set_adjust_if_offscreen(false); |
CreateItemViews(login_status); |