Index: ash/system/status_area_widget.cc |
diff --git a/ash/system/status_area_widget.cc b/ash/system/status_area_widget.cc |
index f0ae1d011962800493d8f33a8df2a7e57476aafe..9c0a3125414da925e3255b827ee2e0d654daa638 100644 |
--- a/ash/system/status_area_widget.cc |
+++ b/ash/system/status_area_widget.cc |
@@ -4,6 +4,7 @@ |
#include "ash/system/status_area_widget.h" |
+#include "ash/root_window_controller.h" |
#include "ash/shell.h" |
#include "ash/shell_delegate.h" |
#include "ash/shell_window_ids.h" |
@@ -285,9 +286,9 @@ StatusAreaWidget::StatusAreaWidget() |
views::Widget::InitParams params( |
views::Widget::InitParams::TYPE_WINDOW_FRAMELESS); |
params.delegate = widget_delegate_; |
- params.parent = Shell::GetContainer( |
- Shell::GetPrimaryRootWindow(), |
- ash::internal::kShellWindowId_StatusContainer); |
+ params.parent = |
+ Shell::GetPrimaryRootWindowController()->GetContainer( |
+ ash::internal::kShellWindowId_StatusContainer); |
params.transparent = true; |
Init(params); |
set_focus_on_creation(false); |