Index: chrome/browser/ui/ash/app_list/app_list_controller_ash.cc |
diff --git a/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc b/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc |
index 1b642faddfab0d796c048518f7a48902a6ef7187..857e41da66dd367bd8cbc89a1061429db5a01ca7 100644 |
--- a/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc |
+++ b/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc |
@@ -15,8 +15,7 @@ AppListControllerDelegateAsh::~AppListControllerDelegateAsh() {} |
void AppListControllerDelegateAsh::DismissView() { |
DCHECK(ash::Shell::HasInstance()); |
- if (ash::Shell::GetInstance()->GetAppListTargetVisibility()) |
- ash::Shell::GetInstance()->ToggleAppList(NULL); |
+ ash::Shell::GetInstance()->DismissAppList(); |
} |
gfx::NativeWindow AppListControllerDelegateAsh::GetAppListWindow() { |