Always cancel Plugin VM installation when the installer dialog is closed
Currently closing the Plugin VM installer dialog cancels installation only if the cancel button is clicked. Clicking the X or hitting escape doesn't cancel the install, leading to weird states if the user then opens the dialog again. This CL moves the logic for cancelling the installation to the dialog's destructor, ensuring we always properly cancel the installation. Bug: b/169973809 Change-Id: I3390e88effac6553e76e78c1509315250cb6ff18 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2462897 Commit-Queue: Timothy Loh <timloh@chromium.org> Reviewed-by:Jason Lin <lxj@google.com> Cr-Commit-Position: refs/heads/master@{#816358}
Showing
Please register or sign in to comment