| Index: chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
|
| diff --git a/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
|
| index 2ce5659ad9855e26dda66defd069d49ab0d1510b..7f02b043bb5b34dc394a48236e000db78410d308 100644
|
| --- a/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
|
| +++ b/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
|
| @@ -18,6 +18,7 @@
|
| #include "chrome/browser/ui/extensions/native_app_window.h"
|
| #include "chrome/browser/ui/host_desktop.h"
|
| #include "chrome/browser/ui/tabs/tab_strip_model.h"
|
| +#include "chrome/common/extensions/app_launch_manifest_handler.h"
|
| #include "content/public/browser/web_contents.h"
|
|
|
| using extensions::Extension;
|
| @@ -34,9 +35,11 @@ AppShortcutLauncherItemController::AppShortcutLauncherItemController(
|
| // used URL. This will also work with applications like Google Drive.
|
| const Extension* extension =
|
| launcher_controller()->GetExtensionForAppID(app_id);
|
| - // Some unit tests have no real extension and will set their
|
| - if (extension)
|
| - refocus_url_ = GURL(extension->launch_web_url() + "*");
|
| + // Some unit tests have no real extension.
|
| + if (extension) {
|
| + refocus_url_ =
|
| + GURL(extensions::AppLaunchInfo::GetLaunchWebUrl(extension) + "*");
|
| + }
|
| }
|
|
|
| AppShortcutLauncherItemController::~AppShortcutLauncherItemController() {
|
|
|