Chromium Code Reviews
DescriptionThe dialog delegate for the in-progress download warning was deleted twice. It is the content view for the dialog and as such is automatically deleted when the dialog is closed.
So it does not need to delete itself on the DeleteDelegate() callback.
We were also leaking the label_.
BUG=9959
TEST=Start a big download, close the browser while the download is in progress. A dialog pops-up. Try the close button. The browser should close (and not crash!). Try again but this time with "Wait for donwloads to finish".
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=13515
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|
|||||||||||||||||||