| Index: chrome/browser/notifications/desktop_notification_service.cc
|
| diff --git a/chrome/browser/notifications/desktop_notification_service.cc b/chrome/browser/notifications/desktop_notification_service.cc
|
| index cf22a9a89ff518e22189671008c5d72ebf7191db..ff351763a0e886310e39203b1a34caf3e58de1c3 100644
|
| --- a/chrome/browser/notifications/desktop_notification_service.cc
|
| +++ b/chrome/browser/notifications/desktop_notification_service.cc
|
| @@ -21,7 +21,8 @@
|
| #include "chrome/browser/prefs/scoped_user_pref_update.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/tab_contents/confirm_infobar_delegate.h"
|
| -#include "chrome/browser/ui/browser_list.h"
|
| +#include "chrome/browser/ui/browser.h"
|
| +#include "chrome/browser/ui/browser_finder.h"
|
| #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
|
| #include "chrome/common/chrome_notification_types.h"
|
| #include "chrome/common/content_settings.h"
|
| @@ -332,7 +333,7 @@ void DesktopNotificationService::RequestPermission(
|
| WebContents* tab) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| if (!tab) {
|
| - Browser* browser = BrowserList::GetLastActiveWithProfile(profile_);
|
| + Browser* browser = browser::FindLastActiveWithProfile(profile_);
|
| if (browser)
|
| tab = browser->GetSelectedWebContents();
|
| }
|
|
|