| Index: chrome/browser/extensions/bookmark_app_helper.cc
|
| diff --git a/chrome/browser/extensions/bookmark_app_helper.cc b/chrome/browser/extensions/bookmark_app_helper.cc
|
| index 737603531cc544d5c74ee1eb92472ef05b80aaea..24408f06aaea67170387e02b7c0bf05fc160327e 100644
|
| --- a/chrome/browser/extensions/bookmark_app_helper.cc
|
| +++ b/chrome/browser/extensions/bookmark_app_helper.cc
|
| @@ -72,7 +72,8 @@
|
| #endif // defined(OS_WIN)
|
|
|
| #if defined(USE_ASH)
|
| -#include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h"
|
| +#include "ash/shelf/shelf_delegate.h"
|
| +#include "ash/shell.h"
|
| #endif
|
|
|
| namespace {
|
| @@ -716,7 +717,7 @@ void BookmarkAppHelper::FinishInstallation(const Extension* extension) {
|
| web_app::CreateShortcuts(web_app::SHORTCUT_CREATION_BY_USER,
|
| creation_locations, current_profile, extension);
|
| #else
|
| - ChromeLauncherController::instance()->PinAppWithID(extension->id());
|
| + ash::Shell::GetInstance()->GetShelfDelegate()->PinAppWithID(extension->id());
|
| #endif // !defined(USE_ASH)
|
| #endif // !defined(OS_MACOSX)
|
|
|
|
|