| Index: ash/common/shelf/shelf_widget.cc
|
| diff --git a/ash/common/shelf/shelf_widget.cc b/ash/common/shelf/shelf_widget.cc
|
| index d735e5897c17a0ddbd815142ed7698def34e053b..d34af55e2e15b81f4f96058aa6087936c4dec1e9 100644
|
| --- a/ash/common/shelf/shelf_widget.cc
|
| +++ b/ash/common/shelf/shelf_widget.cc
|
| @@ -15,6 +15,7 @@
|
| #include "ash/common/shelf/shelf_view.h"
|
| #include "ash/common/shelf/wm_shelf.h"
|
| #include "ash/common/shelf/wm_shelf_util.h"
|
| +#include "ash/common/system/chromeos/network/sms_observer.h"
|
| #include "ash/common/system/status_area_layout_manager.h"
|
| #include "ash/common/system/status_area_widget.h"
|
| #include "ash/common/wm_lookup.h"
|
| @@ -222,6 +223,7 @@ ShelfWidget::ShelfWidget(WmWindow* shelf_container, WmShelf* wm_shelf)
|
| activating_as_fallback_(false) {
|
| background_animator_.AddObserver(this);
|
| background_animator_.AddObserver(delegate_view_);
|
| + sms_observer_.reset(new SmsObserver());
|
|
|
| views::Widget::InitParams params(
|
| views::Widget::InitParams::TYPE_WINDOW_FRAMELESS);
|
| @@ -384,7 +386,6 @@ void ShelfWidget::Shutdown() {
|
| status_area_widget_->Shutdown();
|
| status_area_widget_ = nullptr;
|
| }
|
| -
|
| CloseNow();
|
| }
|
|
|
|
|