Index: chrome/browser/tab_contents/spelling_bubble_model.cc |
diff --git a/chrome/browser/tab_contents/spelling_bubble_model.cc b/chrome/browser/tab_contents/spelling_bubble_model.cc |
index b9c9ae3194837de1c6f733902282fab666d65330..2dfcd6a606a58cf769094319fc520d94d802dbf6 100644 |
--- a/chrome/browser/tab_contents/spelling_bubble_model.cc |
+++ b/chrome/browser/tab_contents/spelling_bubble_model.cc |
@@ -7,7 +7,8 @@ |
#include "base/logging.h" |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/browser/profiles/profile.h" |
-#include "chrome/browser/ui/browser_list.h" |
+#include "chrome/browser/ui/browser.h" |
+#include "chrome/browser/ui/browser_finder.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/common/url_constants.h" |
#include "googleurl/src/gurl.h" |
@@ -60,7 +61,7 @@ string16 SpellingBubbleModel::GetLinkText() const { |
} |
void SpellingBubbleModel::LinkClicked() { |
- Browser* browser = BrowserList::GetLastActiveWithProfile(profile_); |
+ Browser* browser = browser::FindLastActiveWithProfile(profile_); |
OpenURLParams params( |
GURL(chrome::kPrivacyLearnMoreURL), Referrer(), NEW_FOREGROUND_TAB, |
content::PAGE_TRANSITION_LINK, false); |