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 56c36135e8651256f39704df4a547bdd4e5f4f24..5edc20d65cf7a4e2011a4df1570625957c5a78b0 100644 |
--- a/chrome/browser/download/chrome_download_manager_delegate.cc |
+++ b/chrome/browser/download/chrome_download_manager_delegate.cc |
@@ -46,7 +46,7 @@ |
#if !defined(OS_ANDROID) |
#include "chrome/browser/ui/browser.h" |
-#include "chrome/browser/ui/browser_list.h" |
+#include "chrome/browser/ui/browser_finder.h" |
#endif |
#if defined(OS_CHROMEOS) |
@@ -179,7 +179,7 @@ WebContents* ChromeDownloadManagerDelegate:: |
#else |
// 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 = BrowserList::GetLastActiveWithProfile(profile_); |
+ Browser* last_active = browser::FindLastActiveWithProfile(profile_); |
return last_active ? last_active->GetSelectedWebContents() : NULL; |
#endif |
} |