diff options
author | altimofeev@chromium.org <altimofeev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-21 10:13:01 +0000 |
---|---|---|
committer | altimofeev@chromium.org <altimofeev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-21 10:13:01 +0000 |
commit | 40710787cf249bf68c062cc72d619edc3225cbf7 (patch) | |
tree | 354af1039325c7eca2a4bee4c1d7f9f90df9377c | |
parent | 72ee4da2465f9fc33da3e17c30c7ef5626573d22 (diff) | |
download | chromium_src-40710787cf249bf68c062cc72d619edc3225cbf7.zip chromium_src-40710787cf249bf68c062cc72d619edc3225cbf7.tar.gz chromium_src-40710787cf249bf68c062cc72d619edc3225cbf7.tar.bz2 |
Fixes problem with non-consitent active downloads.
Fix http://src.chromium.org/viewvc/chrome?view=rev&revision=71785
revealed possible flow, when active downloads list contains non-existing
downloads. This fix removes redundant method call, which is also
dangerous.
BUG=none
TEST=cancel dangerous download, notice that Chromium is alive.
Review URL: http://codereview.chromium.org/6372003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72121 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/dom_ui/filebrowse_ui.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/dom_ui/filebrowse_ui.cc b/chrome/browser/dom_ui/filebrowse_ui.cc index ceaa65c..dfc0fd6 100644 --- a/chrome/browser/dom_ui/filebrowse_ui.cc +++ b/chrome/browser/dom_ui/filebrowse_ui.cc @@ -897,7 +897,6 @@ void FilebrowseHandler::OnListDone(int error) { info_value.SetString(kPropertyPath, currentpath_.value()); dom_ui_->CallJavascriptFunction(L"browseFileResult", info_value, *(filelist_value_.get())); - SendCurrentDownloads(); } void FilebrowseHandler::HandleGetMetadata(const ListValue* args) { |