Index: ui/app_list/views/app_list_view.cc |
diff --git a/ui/app_list/views/app_list_view.cc b/ui/app_list/views/app_list_view.cc |
index a6892453639cc6068ef8e2d172a8b4beda9bf590..f3307d10ca7a514747bf99ada675106cdcea63e2 100644 |
--- a/ui/app_list/views/app_list_view.cc |
+++ b/ui/app_list/views/app_list_view.cc |
@@ -128,7 +128,7 @@ void AppListView::ShowWhenReady() { |
void AppListView::Close() { |
app_list_main_view_->Close(); |
- if (delegate_.get()) |
+ if (delegate_) |
delegate_->Dismiss(); |
else |
GetWidget()->Close(); |
@@ -163,7 +163,7 @@ views::View* AppListView::GetInitiallyFocusedView() { |
} |
gfx::ImageSkia AppListView::GetWindowIcon() { |
- if (delegate_.get()) |
+ if (delegate_) |
return delegate_->GetWindowIcon(); |
return gfx::ImageSkia(); |