Index: chrome/browser/first_run/first_run.cc |
diff --git a/chrome/browser/first_run/first_run.cc b/chrome/browser/first_run/first_run.cc |
index 0387368a0b4e1101d7a0de2c91d94b01a875f3fb..f831c6b469b1c0405899bbe407af86ae07c60c8a 100644 |
--- a/chrome/browser/first_run/first_run.cc |
+++ b/chrome/browser/first_run/first_run.cc |
@@ -28,6 +28,7 @@ |
#include "chrome/browser/search_engines/template_url_service_factory.h" |
#include "chrome/browser/shell_integration.h" |
#include "chrome/browser/ui/browser.h" |
+#include "chrome/browser/ui/browser_finder.h" |
#include "chrome/browser/ui/global_error_service.h" |
#include "chrome/browser/ui/global_error_service_factory.h" |
#include "chrome/browser/ui/webui/ntp/new_tab_ui.h" |
@@ -497,7 +498,7 @@ void FirstRunBubbleLauncher::Observe( |
const content::NotificationSource& source, |
const content::NotificationDetails& details) { |
DCHECK_EQ(type, content::NOTIFICATION_LOAD_COMPLETED_MAIN_FRAME); |
- Browser* browser = BrowserList::FindBrowserWithWebContents( |
+ Browser* browser = browser::FindBrowserWithWebContents( |
content::Source<content::WebContents>(source).ptr()); |
if (!browser || !browser->is_type_tabbed()) |
return; |