diff options
author | paul@chromium.org <paul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-18 01:01:19 +0000 |
---|---|---|
committer | paul@chromium.org <paul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-18 01:01:19 +0000 |
commit | 8b2034f851b1b41c2ec6539c057b63c92ef7289c (patch) | |
tree | 81265ec888324e43fe362f26181cbf94c6ad9bae /webkit/appcache/appcache_host.cc | |
parent | b836fa5b1f23146fbb7c6859672821787cc70b1e (diff) | |
download | chromium_src-8b2034f851b1b41c2ec6539c057b63c92ef7289c.zip chromium_src-8b2034f851b1b41c2ec6539c057b63c92ef7289c.tar.gz chromium_src-8b2034f851b1b41c2ec6539c057b63c92ef7289c.tar.bz2 |
Fix 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.
Review URL: http://codereview.chromium.org/216018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26536 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_host.cc')
0 files changed, 0 insertions, 0 deletions