Index: chrome/browser/lifetime/application_lifetime.cc |
diff --git a/chrome/browser/lifetime/application_lifetime.cc b/chrome/browser/lifetime/application_lifetime.cc |
index 0693c58f08a7e48398ecbaeee2248f5ba129c73d..da12a425f796072e5f1a9eba8ec56f6bf57b4f6e 100644 |
--- a/chrome/browser/lifetime/application_lifetime.cc |
+++ b/chrome/browser/lifetime/application_lifetime.cc |
@@ -60,7 +60,8 @@ bool AreAllBrowsersCloseable() { |
return true; |
// If there are any downloads active, all browsers are not closeable. |
- if (DownloadService::DownloadCountAllProfiles() > 0) |
+ // However, this does not block for malicious downloads. |
+ if (DownloadService::NonMaliciousDownloadCountAllProfiles() > 0) |
return false; |
// Check TabsNeedBeforeUnloadFired(). |