| Index: chrome/browser/web_applications/web_app_mac.mm
|
| diff --git a/chrome/browser/web_applications/web_app_mac.mm b/chrome/browser/web_applications/web_app_mac.mm
|
| index 1252d6175c838698f08b8977fc9e0d09d3397852..799407a5dfb484f3df0f0bf3ee3ca27fcd9be320 100644
|
| --- a/chrome/browser/web_applications/web_app_mac.mm
|
| +++ b/chrome/browser/web_applications/web_app_mac.mm
|
| @@ -1103,8 +1103,10 @@ void UpdateShortcutsForAllApps(Profile* profile,
|
| registry->GenerateInstalledExtensionsSet();
|
| for (extensions::ExtensionSet::const_iterator it = everything->begin();
|
| it != everything->end(); ++it) {
|
| - if (web_app::ShouldCreateShortcutFor(profile, it->get()))
|
| + if (web_app::ShouldCreateShortcutFor(SHORTCUT_CREATION_AUTOMATED, profile,
|
| + it->get())) {
|
| web_app::UpdateAllShortcuts(base::string16(), profile, it->get());
|
| + }
|
| }
|
|
|
| callback.Run();
|
|
|