Index: chrome/browser/extensions/app_notify_channel_ui.cc |
diff --git a/chrome/browser/extensions/app_notify_channel_ui.cc b/chrome/browser/extensions/app_notify_channel_ui.cc |
index 53afc127647a670a8d06cc31e9f9908a5ad4cb1b..f50f4df42b40f208a4700e6121456d539f05de2d 100644 |
--- a/chrome/browser/extensions/app_notify_channel_ui.cc |
+++ b/chrome/browser/extensions/app_notify_channel_ui.cc |
@@ -13,7 +13,7 @@ |
#include "chrome/browser/sync/profile_sync_service_factory.h" |
#include "chrome/browser/tab_contents/confirm_infobar_delegate.h" |
#include "chrome/browser/ui/browser.h" |
-#include "chrome/browser/ui/browser_list.h" |
+#include "chrome/browser/ui/browser_finder.h" |
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
#include "chrome/browser/ui/webui/signin/login_ui_service.h" |
#include "chrome/browser/ui/webui/signin/login_ui_service_factory.h" |
@@ -153,7 +153,7 @@ void AppNotifyChannelUIImpl::OnInfoBarResult(bool accepted) { |
} |
} |
// Any existing UI is now closed - display new login UI. |
- Browser* browser = BrowserList::GetLastActiveWithProfile(profile_); |
+ Browser* browser = browser::FindLastActiveWithProfile(profile_); |
if (browser) { |
browser->ShowOptionsTab(chrome::kSyncSetupForceLoginSubPage); |
return; |