Index: chrome/browser/shell_integration_win.cc |
diff --git a/chrome/browser/shell_integration_win.cc b/chrome/browser/shell_integration_win.cc |
index 97dae75806498acaffa93f9fe612a14b9a903acc..a4dbd819faf917f4bf1570b104b540ecc9e94c73 100644 |
--- a/chrome/browser/shell_integration_win.cc |
+++ b/chrome/browser/shell_integration_win.cc |
@@ -336,10 +336,11 @@ void MigrateWin7ShortcutsInPath( |
GetShortcutAppId(shell_link, &existing_app_id); |
if (expected_app_id != existing_app_id) { |
- file_util::CreateOrUpdateShortcutLink(NULL, shortcut.value().c_str(), |
- NULL, NULL, NULL, NULL, 0, |
- expected_app_id.c_str(), |
- file_util::SHORTCUT_NO_OPTIONS); |
+ file_util::ShortcutProperties properties_app_id_only; |
+ properties_app_id_only.set_app_id(expected_app_id); |
+ file_util::CreateOrUpdateShortcutLink( |
+ shortcut.value().c_str(), properties_app_id_only, |
+ file_util::SHORTCUT_UPDATE_EXISTING); |
} |
} |
} |