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..77df8039726c4062ee828e438439a6048534173d 100644 |
--- a/chrome/browser/lifetime/application_lifetime.cc |
+++ b/chrome/browser/lifetime/application_lifetime.cc |
@@ -60,7 +60,7 @@ bool AreAllBrowsersCloseable() { |
return true; |
// If there are any downloads active, all browsers are not closeable. |
asanka
2013/10/11 16:02:35
Nit: Mention that dangerous downloads don't block
felt
2013/10/11 17:26:44
Done.
|
- if (DownloadService::DownloadCountAllProfiles() > 0) |
+ if (DownloadService::NonDangerousDownloadCountAllProfiles() > 0) |
return false; |
// Check TabsNeedBeforeUnloadFired(). |