Index: chrome/browser/ui/views/first_run_bubble.cc |
diff --git a/chrome/browser/ui/views/first_run_bubble.cc b/chrome/browser/ui/views/first_run_bubble.cc |
index 25a4546d0c5383f0e34eb46964688122763515d3..6aec578cef7cc0456bd066f9c329803cc0a5ab80 100644 |
--- a/chrome/browser/ui/views/first_run_bubble.cc |
+++ b/chrome/browser/ui/views/first_run_bubble.cc |
@@ -7,7 +7,8 @@ |
#include "base/utf_string_conversions.h" |
#include "chrome/browser/first_run/first_run.h" |
#include "chrome/browser/search_engines/util.h" |
-#include "chrome/browser/ui/browser_list.h" |
+#include "chrome/browser/ui/browser.h" |
+#include "chrome/browser/ui/browser_finder.h" |
#include "grit/generated_resources.h" |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/base/resource/resource_bundle.h" |
@@ -95,7 +96,7 @@ void FirstRunBubble::LinkClicked(views::Link* source, int event_flags) { |
first_run::LogFirstRunMetric(first_run::FIRST_RUN_BUBBLE_CHANGE_INVOKED); |
// Get |profile_|'s browser before closing the bubble, which deletes |this|. |
- Browser* browser = BrowserList::GetLastActiveWithProfile(profile_); |
+ Browser* browser = browser::FindLastActiveWithProfile(profile_); |
GetWidget()->Close(); |
if (browser) |
browser->OpenSearchEngineOptionsDialog(); |