Index: chrome/browser/notifications/balloon_host.cc |
diff --git a/chrome/browser/notifications/balloon_host.cc b/chrome/browser/notifications/balloon_host.cc |
index 9fafe3c21444d2b714713d41779b4e44a40535ae..03e0126d09ee4048022fbc0a2c7a37f60ead699e 100644 |
--- a/chrome/browser/notifications/balloon_host.cc |
+++ b/chrome/browser/notifications/balloon_host.cc |
@@ -10,7 +10,7 @@ |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/renderer_preferences_util.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/chrome_web_ui_controller_factory.h" |
#include "chrome/common/chrome_notification_types.h" |
#include "chrome/common/chrome_view_type.h" |
@@ -80,7 +80,7 @@ void BalloonHost::AddNewContents(WebContents* source, |
WindowOpenDisposition disposition, |
const gfx::Rect& initial_pos, |
bool user_gesture) { |
- Browser* browser = BrowserList::GetLastActiveWithProfile( |
+ Browser* browser = browser::FindLastActiveWithProfile( |
Profile::FromBrowserContext(new_contents->GetBrowserContext())); |
if (!browser) |
return; |