Index: content/browser/download/download_item_impl.cc |
diff --git a/content/browser/download/download_item_impl.cc b/content/browser/download/download_item_impl.cc |
index a3e72ffa469e50f0efd18f92c63a50c2a99e0e16..6f168fb0d81eb8223df6130c517543c30b8db1fd 100644 |
--- a/content/browser/download/download_item_impl.cc |
+++ b/content/browser/download/download_item_impl.cc |
@@ -604,7 +604,6 @@ void DownloadItemImpl::SetDangerType(content::DownloadDangerType danger_type) { |
net::NetLog::TYPE_DOWNLOAD_ITEM_SAFETY_STATE_UPDATED, |
base::Bind(&download_net_logs::ItemCheckedCallback, |
GetDangerType(), GetSafetyState())); |
- UpdateObservers(); |
} |
} |
@@ -871,7 +870,6 @@ void DownloadItemImpl::OnTargetPathDetermined( |
const FilePath& target_path, |
TargetDisposition disposition, |
content::DownloadDangerType danger_type) { |
- // TODO(rdsmith): Change to DCHECK after http://crbug.com/85408 resolved. |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
target_path_ = target_path; |
target_disposition_ = disposition; |
@@ -886,10 +884,10 @@ void DownloadItemImpl::OnTargetPathSelected(const FilePath& target_path) { |
void DownloadItemImpl::OnContentCheckCompleted( |
content::DownloadDangerType danger_type) { |
- // TODO(rdsmith): Change to DCHECK after http://crbug.com/85408 resolved. |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
DCHECK(AllDataSaved()); |
SetDangerType(danger_type); |
+ UpdateObservers(); |
} |
void DownloadItemImpl::OnIntermediatePathDetermined( |