Index: chrome/browser/ui/views/app_list/app_list_controller_win.cc |
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 0c9d4e7a6971be8997f5ff75a8e31d1e7c3fb3d2..345172b0e28006f106706a7edaf2eb2c4eb382d4 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 |
@@ -511,7 +511,7 @@ void AppListController::ShowAppList(Profile* profile) { |
// If the app list is already displaying |profile| just activate it (in case |
// we have lost focus). |
if (IsAppListVisible() && (profile == profile_)) { |
- current_view_->Show(); |
+ current_view_->GetWidget()->Show(); |
current_view_->GetWidget()->Activate(); |
return; |
} |
@@ -525,7 +525,7 @@ void AppListController::ShowAppList(Profile* profile) { |
EnsureHaveKeepAliveForView(); |
gfx::Point cursor = gfx::Screen::GetNativeScreen()->GetCursorScreenPoint(); |
UpdateArrowPositionAndAnchorPoint(cursor); |
- current_view_->Show(); |
+ current_view_->GetWidget()->Show(); |
current_view_->GetWidget()->GetTopLevelWidget()->UpdateWindowIcon(); |
current_view_->GetWidget()->Activate(); |
} |