Fix DCHECK when migrating task bar shortcuts.
MigrateShortcutsInPathInternal uses the command line within a task bar pin to determine the pin's expected AppId. If the command line in the shortcut contains "--user-data-dir" without a value, Chrome itself ignores the switch and uses the default. This change does the same for the AppId calculation in MigrateShortcutsInPathInternal. BUG=1045019 R=gab@chromium.org Change-Id: Ia337c6d0d30fed1525e97e341b0ae4b0e5edef15 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2022788Reviewed-by:Gabriel Charette <gab@chromium.org> Commit-Queue: Greg Thompson <grt@chromium.org> Cr-Commit-Position: refs/heads/master@{#735400}
Showing
Please register or sign in to comment