Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Unified Diff: ash/app_list/app_list_presenter_delegate.cc

Issue 2615743002: cros: Fix clusterfuzz crash when spawning app list very early in startup (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/app_list/app_list_presenter_delegate.cc
diff --git a/ash/app_list/app_list_presenter_delegate.cc b/ash/app_list/app_list_presenter_delegate.cc
index a9d89e15986376b27089b1d9ae16c2897a0343a8..7c0463464d07da2427d7b688d2db487ffe696f5d 100644
--- a/ash/app_list/app_list_presenter_delegate.cc
+++ b/ash/app_list/app_list_presenter_delegate.cc
@@ -113,6 +113,7 @@ void AppListPresenterDelegate::Init(app_list::AppListView* view,
->GetContainer(kShellWindowId_AppListContainer);
WmShelf* shelf = WmShelf::ForWindow(WmWindowAura::Get(container));
AppListButton* applist_button = shelf->shelf_widget()->GetAppListButton();
+ DCHECK(applist_button);
bool is_fullscreen = IsFullscreenAppListEnabled() &&
WmShell::Get()
->maximize_mode_controller()
« no previous file with comments | « no previous file | ash/common/accelerators/accelerator_controller.cc » ('j') | ash/common/accelerators/accelerator_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698