| Index: chrome/browser/ui/webui/ntp/app_launcher_handler.cc
|
| diff --git a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
|
| index 2a054546bbda93ce0a62546116650ff77fe3bdae..e56bcef84335e0768b04962ad2d463f0cd44793b 100644
|
| --- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
|
| +++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
|
| @@ -28,7 +28,7 @@
|
| #include "chrome/browser/prefs/scoped_user_pref_update.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 "chrome/browser/ui/browser_window.h"
|
| #include "chrome/browser/ui/webui/extensions/extension_icon_source.h"
|
| #include "chrome/browser/ui/webui/ntp/new_tab_ui.h"
|
| @@ -558,7 +558,7 @@ void AppLauncherHandler::HandleLaunchApp(const ListValue* args) {
|
|
|
| // To give a more "launchy" experience when using the NTP launcher, we close
|
| // it automatically.
|
| - Browser* browser = BrowserList::GetLastActiveWithProfile(profile);
|
| + Browser* browser = browser::FindLastActiveWithProfile(profile);
|
| WebContents* old_contents = NULL;
|
| if (browser)
|
| old_contents = browser->GetSelectedWebContents();
|
| @@ -630,7 +630,7 @@ void AppLauncherHandler::HandleCreateAppShortcut(const ListValue* args) {
|
| if (!extension)
|
| return;
|
|
|
| - Browser* browser = BrowserList::GetLastActiveWithProfile(
|
| + Browser* browser = browser::FindLastActiveWithProfile(
|
| extension_service_->profile());
|
| if (!browser)
|
| return;
|
|
|