AppUninstallDialog: Do not assume app domain is non-empty
AppUninstallDialog::InitializeCheckbox gets the app URL domain, and changes the first domain character to upper-case, assuming that the domain is non-empty. This may not be case if the app URL is an IP address. BUG=1084451 Change-Id: I5c43ff22fa3474a1c0ff0bcf79afd53de9beb26e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2521043Reviewed-by:Nancy Wang <nancylingwang@chromium.org> Commit-Queue: Toni Baržić <tbarzic@chromium.org> Cr-Commit-Position: refs/heads/master@{#824671}
Showing
Please register or sign in to comment