Index: chrome/browser/ui/startup/session_crashed_prompt.cc |
diff --git a/chrome/browser/ui/startup/session_crashed_prompt.cc b/chrome/browser/ui/startup/session_crashed_prompt.cc |
index 70dca077d8e122170129d4781997380c5d0a802b..7c727e0a23a954958250d97298560a308053d0b4 100644 |
--- a/chrome/browser/ui/startup/session_crashed_prompt.cc |
+++ b/chrome/browser/ui/startup/session_crashed_prompt.cc |
@@ -10,7 +10,7 @@ |
#include "chrome/browser/tab_contents/confirm_infobar_delegate.h" |
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
#include "chrome/browser/ui/browser.h" |
-#include "chrome/browser/ui/browser_list.h" |
+#include "chrome/browser/ui/browser_finder.h" |
#include "chrome/common/url_constants.h" |
#include "content/public/browser/web_contents.h" |
#include "grit/chromium_strings.h" |
@@ -75,7 +75,7 @@ string16 SessionCrashedInfoBarDelegate::GetButtonLabel( |
bool SessionCrashedInfoBarDelegate::Accept() { |
uint32 behavior = 0; |
- Browser* browser = BrowserList::GetLastActiveWithProfile(profile_); |
+ Browser* browser = browser::FindLastActiveWithProfile(profile_); |
if (browser && browser->tab_count() == 1 |
&& browser->GetWebContentsAt(0)->GetURL() == |
GURL(chrome::kChromeUINewTabURL)) { |