commit | cda790613b518dee5a3ea4ce7d83989c1acd166a | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Jan 17 01:50:52 2013 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Jan 17 01:50:52 2013 |
tree | 63559cfe77454c489e41c1f69bd685e09d68cc78 | |
parent | 155727895a28eabf46792cf1934d6e0b6db11ee3 [diff] [blame] |
Merge DownloadItem::SafetyState and DownloadDangerType [email protected] [email protected] Review URL: https://chromiumcodereview.appspot.com/11693011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177304 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/browser/download/download_manager_impl.cc b/content/browser/download/download_manager_impl.cc index 32328b4..4b40c27 100644 --- a/content/browser/download/download_manager_impl.cc +++ b/content/browser/download/download_manager_impl.cc
@@ -316,8 +316,7 @@ // associative containers such as sets. it++; - if (download->GetSafetyState() == DownloadItem::DANGEROUS && - download->IsPartialDownload()) { + if (download->IsDangerous() && download->IsPartialDownload()) { // The user hasn't accepted it, so we need to remove it // from the disk. This may or may not result in it being // removed from the DownloadManager queues and deleted