DescriptionFix a crash when closing an incognito window with a download
shelf visible.
We explicitly remove the download shelf view from the browser
view hierarchy during a window close operation. This avoids
calling back into the partially deleted view hierarchy with
download deleted observer notifications. Explicitly removing
the shelf allows the observer notifications to run first while
the views are still valid.
To reproduce:
1. Launch Chrome
2. Open an incognito window
3. Download something in the incognito window
4. The download shelf should become visible with one entry
5. Close the incognito window
6. Crash
BUG=13681
(http://crbug.com/13681)
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=18458
Patch Set 1 #Patch Set 2 : '' #
Total comments: 1
Patch Set 3 : '' #Patch Set 4 : '' #
Messages
Total messages: 5 (0 generated)
|