Index: chrome/browser/chromeos/gdata/gdata_util.cc |
diff --git a/chrome/browser/chromeos/gdata/gdata_util.cc b/chrome/browser/chromeos/gdata/gdata_util.cc |
index 8674c937fa2073e5aaa44acad9b0b33f9c2d9fa2..6d3babec42919e9f16ad189169a8c0907f2a45ad 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_util.cc |
+++ b/chrome/browser/chromeos/gdata/gdata_util.cc |
@@ -28,7 +28,7 @@ |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/ui/browser.h" |
-#include "chrome/browser/ui/browser_list.h" |
+#include "chrome/browser/ui/browser_finder.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/child_process_security_policy.h" |
#include "net/base/escape.h" |
@@ -86,7 +86,7 @@ void GetHostedDocumentURLBlockingThread(const FilePath& gdata_cache_path, |
} |
void OpenEditURLUIThread(Profile* profile, GURL* edit_url) { |
- Browser* browser = BrowserList::GetLastActiveWithProfile(profile); |
+ Browser* browser = browser::FindLastActiveWithProfile(profile); |
if (browser) { |
browser->OpenURL(content::OpenURLParams(*edit_url, content::Referrer(), |
CURRENT_TAB, content::PAGE_TRANSITION_TYPED, false)); |