diff options
author | paul@chromium.org <paul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-09 18:51:51 +0000 |
---|---|---|
committer | paul@chromium.org <paul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-09 18:51:51 +0000 |
commit | 01fab8b94bf539331104f3e2adffc4933766d362 (patch) | |
tree | dd5d34b4c092ef515449086aef87484efee689c6 /net | |
parent | 57644767de98ad87692dfae268858fb24ec66d15 (diff) | |
download | chromium_src-01fab8b94bf539331104f3e2adffc4933766d362.zip chromium_src-01fab8b94bf539331104f3e2adffc4933766d362.tar.gz chromium_src-01fab8b94bf539331104f3e2adffc4933766d362.tar.bz2 |
Set the save file type index properly if there was only one file type.
The save file indexes are 1 based, and if there is only one file type
that the page can be saved as (such as a page like foo.com/notes.txt),
the index is set to 0 which will cause a crash.
BUG=15555 (http://crbug.com/15555)
TEST=Go to a web page that is a text file and try to save it. Chrome
should not crash.
Review URL: http://codereview.chromium.org/155264
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20293 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions