summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/status/data_promo_notification.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/status/data_promo_notification.cc')
-rw-r--r--chrome/browser/chromeos/status/data_promo_notification.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/status/data_promo_notification.cc b/chrome/browser/chromeos/status/data_promo_notification.cc
index b2cf615..2c90d0b 100644
--- a/chrome/browser/chromeos/status/data_promo_notification.cc
+++ b/chrome/browser/chromeos/status/data_promo_notification.cc
@@ -209,7 +209,8 @@ void DataPromoNotification::ShowOptionalMobileDataPromoNotification(
links);
mobile_data_bubble_->set_link_listener(listener);
mobile_data_bubble_->set_parent_window(
- ash::Shell::GetInstance()->GetContainer(
+ ash::Shell::GetContainer(
+ ash::Shell::GetPrimaryRootWindow(),
ash::internal::kShellWindowId_SettingBubbleContainer));
views::BubbleDelegateView::CreateBubble(mobile_data_bubble_);
mobile_data_bubble_->Show();