Index: chrome/browser/ui/app_list/app_list_view_delegate.cc |
diff --git a/chrome/browser/ui/app_list/app_list_view_delegate.cc b/chrome/browser/ui/app_list/app_list_view_delegate.cc |
index 7b59b98f77fd6631d34ba5e7c347ada5dfb5f160..ee4769fc650c333695c975dc3b291ad0fd8c40c5 100644 |
--- a/chrome/browser/ui/app_list/app_list_view_delegate.cc |
+++ b/chrome/browser/ui/app_list/app_list_view_delegate.cc |
@@ -102,7 +102,10 @@ void AppListViewDelegate::GetShortcutPathForApp( |
DCHECK(service); |
const extensions::Extension* extension = |
service->GetInstalledExtension(app_id); |
- DCHECK(extension); |
+ if (!extension) { |
+ callback.Run(base::FilePath()); |
+ return; |
+ } |
base::FilePath app_data_dir( |
web_app::GetWebAppDataDirectory(profile_->GetPath(), |