Index: chrome/browser/ui/browser.cc |
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
index c668ed687a7bb706fd47db6511ba221e126e05a4..c24ae9bb71c348e6966316cacb04ffc7c0d89874 100644 |
--- a/chrome/browser/ui/browser.cc |
+++ b/chrome/browser/ui/browser.cc |
@@ -1429,6 +1429,9 @@ int Browser::GetExtraRenderViewHeight() const { |
void Browser::OnStartDownload(WebContents* source, |
content::DownloadItem* download) { |
+ if (download->IsHiddenDownload()) |
+ return; |
+ |
WebContents* constrained = GetConstrainingWebContents(source); |
if (constrained != source) { |
// Download in a constrained popup is shown in the tab that opened it. |