| Index: chrome/browser/download/chrome_download_manager_delegate.cc
|
| diff --git a/chrome/browser/download/chrome_download_manager_delegate.cc b/chrome/browser/download/chrome_download_manager_delegate.cc
|
| index 804973041bc8b470eab3608d7c158fc228011449..11f2366a37a5ba2bf031f8437f74618b7a28cbba 100644
|
| --- a/chrome/browser/download/chrome_download_manager_delegate.cc
|
| +++ b/chrome/browser/download/chrome_download_manager_delegate.cc
|
| @@ -223,7 +223,7 @@ WebContents* ChromeDownloadManagerDelegate::
|
| // Start the download in the last active browser. This is not ideal but better
|
| // than fully hiding the download from the user.
|
| Browser* last_active = browser::FindLastActiveWithProfile(profile_);
|
| - return last_active ? last_active->GetSelectedWebContents() : NULL;
|
| + return last_active ? last_active->GetActiveWebContents() : NULL;
|
| #endif
|
| }
|
|
|
|
|