| Index: ash/shelf/shelf_widget.cc
|
| diff --git a/ash/shelf/shelf_widget.cc b/ash/shelf/shelf_widget.cc
|
| index 755062249c43c6f3b917a8c732246f116379b0a3..0fe41f7be8a9fa59bb6dce40ddd165fcb00fd4ba 100644
|
| --- a/ash/shelf/shelf_widget.cc
|
| +++ b/ash/shelf/shelf_widget.cc
|
| @@ -343,7 +343,7 @@ bool ShelfWidget::DelegateView::GetDimmed() const {
|
| }
|
|
|
| void ShelfWidget::DelegateView::SetWidgetBounds(const gfx::Rect bounds) {
|
| - if (dimmer_.get())
|
| + if (dimmer_)
|
| dimmer_->SetBounds(bounds);
|
| }
|
|
|
| @@ -484,7 +484,7 @@ bool ShelfWidget::GetDimsShelf() const {
|
| }
|
|
|
| void ShelfWidget::CreateLauncher() {
|
| - if (!launcher_.get()) {
|
| + if (!launcher_) {
|
| Shell* shell = Shell::GetInstance();
|
| // This needs to be called before launcher_model().
|
| shell->GetLauncherDelegate();
|
| @@ -511,7 +511,7 @@ bool ShelfWidget::IsLauncherVisible() const {
|
| }
|
|
|
| void ShelfWidget::SetLauncherVisibility(bool visible) {
|
| - if (launcher_.get())
|
| + if (launcher_)
|
| launcher_->SetVisible(visible);
|
| }
|
|
|
|
|