DescriptionFix a bug where we access a view after deletion.
When the download shelf menu option 'Remove' is chosen,
the view is removed and deleted (along with the object
representing the download) so we must not access them
after the removal.
This CL NULLs the download pointer in the menu to
prevent any futher access.
BUG=20810
TEST=Remove an item from the download shelf and Chrome
should not crash.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=26536
Patch Set 1 #Patch Set 2 : '' #
Messages
Total messages: 2 (0 generated)
|