| Index: ash/shell.cc
|
| diff --git a/ash/shell.cc b/ash/shell.cc
|
| index c6eb4d3773eaa1c164691ccd596b751986f9b65e..f3a2d5b2071ee8ba1f46c380466d85c75e618279 100644
|
| --- a/ash/shell.cc
|
| +++ b/ash/shell.cc
|
| @@ -455,7 +455,8 @@ void Shell::Init() {
|
| // Initialize Primary RootWindow specific items.
|
| status_area_widget_ = new internal::StatusAreaWidget();
|
| status_area_widget_->CreateTrayViews(delegate_.get());
|
| - status_area_widget_->Show();
|
| + if (delegate_.get() && delegate_->IsStatusAreaInitiallyVisible())
|
| + status_area_widget_->Show();
|
|
|
| focus_cycler_.reset(new internal::FocusCycler());
|
| focus_cycler_->AddWidget(status_area_widget_);
|
|
|