Index: chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc |
diff --git a/chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc b/chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc |
index fb85261a5a6438d70cd46a8896612815b9dc88e9..98214614afb70ae6ff19a11d8694c115fc7e81b8 100644 |
--- a/chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc |
+++ b/chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc |
@@ -20,7 +20,7 @@ |
#include "chrome/browser/sync/profile_sync_service.h" |
#include "chrome/browser/sync/profile_sync_service_factory.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/webui/signin/login_ui_service.h" |
#include "chrome/browser/ui/webui/signin/login_ui_service_factory.h" |
#include "chrome/common/pref_names.h" |
@@ -127,7 +127,7 @@ void NewTabPageSyncHandler::HandleSyncLinkClicked(const ListValue* args) { |
if (!sync_service_->IsSyncEnabled()) |
return; |
Browser* browser = |
- BrowserList::FindBrowserWithWebContents(web_ui()->GetWebContents()); |
+ browser::FindBrowserWithWebContents(web_ui()->GetWebContents()); |
if (!browser || browser->IsAttemptingToCloseBrowser()) |
return; |
browser->ShowSyncSetup(SyncPromoUI::SOURCE_NTP_LINK); |