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

Unified Diff: chrome/browser/ui/app_list/app_list_service_impl.cc

Issue 263403002: Replace OnceOffCreateShortcuts with UpdateShortcutsForAllAppsIfNeeded. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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: chrome/browser/ui/app_list/app_list_service_impl.cc
diff --git a/chrome/browser/ui/app_list/app_list_service_impl.cc b/chrome/browser/ui/app_list/app_list_service_impl.cc
index e09e252826f1046e3fc285a04a9292db3896f2ad..84b03bf11dae358abd8af62d810f087574b6c185 100644
--- a/chrome/browser/ui/app_list/app_list_service_impl.cc
+++ b/chrome/browser/ui/app_list/app_list_service_impl.cc
@@ -350,7 +350,7 @@ void AppListServiceImpl::EnableAppList(Profile* initial_profile,
AppShortcutManager* shortcut_manager =
AppShortcutManagerFactory::GetForProfile(initial_profile);
if (shortcut_manager)
- shortcut_manager->OnceOffCreateShortcuts();
+ shortcut_manager->UpdateShortcutsForAllAppsIfNeeded();
}
void AppListServiceImpl::InvalidatePendingProfileLoads() {

Powered by Google App Engine
This is Rietveld 408576698