summaryrefslogtreecommitdiffstats
path: root/chrome/browser/shell_integration_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/shell_integration_win.cc')
-rw-r--r--chrome/browser/shell_integration_win.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/shell_integration_win.cc b/chrome/browser/shell_integration_win.cc
index f4b75e6..14e5f82 100644
--- a/chrome/browser/shell_integration_win.cc
+++ b/chrome/browser/shell_integration_win.cc
@@ -181,8 +181,10 @@ void MigrateWin7ShortcutsInPath(
GetShortcutAppId(shell_link, &existing_app_id);
if (expected_app_id != existing_app_id) {
- file_util::UpdateShortcutLink(NULL, shortcut.value().c_str(), NULL, NULL,
- NULL, NULL, 0, expected_app_id.c_str());
+ file_util::CreateOrUpdateShortcutLink(NULL, shortcut.value().c_str(),
+ NULL, NULL, NULL, NULL, 0,
+ expected_app_id.c_str(),
+ file_util::SHORTCUT_NO_OPTIONS);
}
}
}