| Index: ash/common/shelf/shelf_widget.cc
|
| diff --git a/ash/common/shelf/shelf_widget.cc b/ash/common/shelf/shelf_widget.cc
|
| index bc10b096b817d115dd40a9491e7cee50a905b48d..be0321f187ed3349b020cfaab2dbf310e13291d4 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"
|
| @@ -223,6 +224,7 @@ ShelfWidget::ShelfWidget(WmWindow* shelf_container, WmShelf* wm_shelf)
|
| DCHECK(wm_shelf_);
|
| background_animator_.AddObserver(this);
|
| background_animator_.AddObserver(delegate_view_);
|
| + sms_observer_.reset(new SmsObserver());
|
|
|
| views::Widget::InitParams params(
|
| views::Widget::InitParams::TYPE_WINDOW_FRAMELESS);
|
| @@ -382,7 +384,6 @@ void ShelfWidget::Shutdown() {
|
| status_area_widget_->Shutdown();
|
| status_area_widget_ = nullptr;
|
| }
|
| -
|
| CloseNow();
|
| }
|
|
|
|
|