| 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 ce247a143cec39c2ffbde43fb709dca938f77da0..a07b3bebe14d597c29254cb125e03fb6f60f3758 100644
|
| --- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
|
| +++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
|
| @@ -569,7 +569,7 @@ void AppLauncherHandler::HandleLaunchApp(const ListValue* args) {
|
| Browser* browser = browser::FindLastActiveWithProfile(profile);
|
| WebContents* old_contents = NULL;
|
| if (browser)
|
| - old_contents = browser->GetSelectedWebContents();
|
| + old_contents = browser->GetActiveWebContents();
|
|
|
| WebContents* new_contents = application_launch::OpenApplication(
|
| profile, extension, launch_container, GURL(url),
|
|
|