Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Issue 66038: Fox for double-delete in in-progress download dialog (Closed)

Created:
11 years, 8 months ago by jcampan
Modified:
9 years, 7 months ago
Reviewers:
sky
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

The 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -5 lines) Patch
M chrome/browser/views/frame/browser_view.cc View 2 chunks +3 lines, -5 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
jcampan
11 years, 8 months ago (2009-04-10 16:54:05 UTC) #1
sky
11 years, 8 months ago (2009-04-10 16:56:28 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698