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
parent 72ee4da2
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment