Tear down ShortcutHelper when dialog is cancelled, not only when cancel is clicked.
commitb4b75d23769ffaea657a8b50ae4d8980b4db4597
authormlamouri <mlamouri@chromium.org>
Thu, 9 Oct 2014 17:50:43 +0000 (9 10:50 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 9 Oct 2014 17:51:00 +0000 (9 17:51 +0000)
treeb44e5e47ef99242a516b3c21b1b18ae48d89ae57
parentb9f57823fd24753ed51e395486db293c5da5d817
Tear down ShortcutHelper when dialog is cancelled, not only when cancel is clicked.

This is including when the user clicks away from the dialog,
dismissing it without explicitly clicking the button.

BUG=419605

Review URL: https://codereview.chromium.org/643673002

Cr-Commit-Position: refs/heads/master@{#298932}
chrome/android/java/src/org/chromium/chrome/browser/webapps/AddToHomescreenDialog.java