summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/ui/views/app_list/app_list_controller_win.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/ui/views/app_list/app_list_controller_win.cc b/chrome/browser/ui/views/app_list/app_list_controller_win.cc
index bfe6b8f..246b16e 100644
--- a/chrome/browser/ui/views/app_list/app_list_controller_win.cc
+++ b/chrome/browser/ui/views/app_list/app_list_controller_win.cc
@@ -316,6 +316,7 @@ string16 AppListController::GetAppModelId() {
}
void AppListController::CheckTaskbarOrViewHasFocus() {
+#if !defined(USE_AURA)
// Don't bother checking if the view has been closed.
if (!current_view_)
return;
@@ -343,6 +344,7 @@ void AppListController::CheckTaskbarOrViewHasFocus() {
// If we get here, the focused window is not the taskbar, it's context menu,
// or the app list, so close the app list.
CloseAppList();
+#endif !defined(USE_AURA)
}
} // namespace