| 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 7cf5db83048ed5e3dac062a499658fd231ae49b7..212b64f0b3deb9164a05c534ad543cbd962524f1 100644
|
| --- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
|
| +++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
|
| @@ -545,12 +545,13 @@ void AppLauncherHandler::HandleLaunchApp(const ListValue* args) {
|
| if (disposition == NEW_FOREGROUND_TAB || disposition == NEW_BACKGROUND_TAB) {
|
| // TODO(jamescook): Proper support for background tabs.
|
| application_launch::OpenApplication(
|
| - profile, extension, extension_misc::LAUNCH_TAB, GURL(url), disposition);
|
| + profile, extension, extension_misc::LAUNCH_TAB, GURL(url), disposition,
|
| + NULL);
|
| } else if (disposition == NEW_WINDOW) {
|
| // Force a new window open.
|
| application_launch::OpenApplication(
|
| profile, extension, extension_misc::LAUNCH_WINDOW, GURL(url),
|
| - disposition);
|
| + disposition, NULL);
|
| } else {
|
| // Look at preference to find the right launch container. If no preference
|
| // is set, launch as a regular tab.
|
| @@ -567,7 +568,7 @@ void AppLauncherHandler::HandleLaunchApp(const ListValue* args) {
|
|
|
| WebContents* new_contents = application_launch::OpenApplication(
|
| profile, extension, launch_container, GURL(url),
|
| - old_contents ? CURRENT_TAB : NEW_FOREGROUND_TAB);
|
| + old_contents ? CURRENT_TAB : NEW_FOREGROUND_TAB, NULL);
|
|
|
| // This will also destroy the handler, so do not perform any actions after.
|
| if (new_contents != old_contents && browser && browser->tab_count() > 1)
|
|
|