| Index: chrome/browser/ui/app_list/app_list_view_delegate.cc
|
| diff --git a/chrome/browser/ui/app_list/app_list_view_delegate.cc b/chrome/browser/ui/app_list/app_list_view_delegate.cc
|
| index b2fae696b7ea251042dbd4f6b88fd9f270615271..dca8cafd7321d253fa24cafc60d45518f0e3a4e6 100644
|
| --- a/chrome/browser/ui/app_list/app_list_view_delegate.cc
|
| +++ b/chrome/browser/ui/app_list/app_list_view_delegate.cc
|
| @@ -94,11 +94,11 @@ const int kAutoLaunchDefaultTimeoutMilliSec = 50;
|
| void CreateShortcutInWebAppDir(
|
| const base::FilePath& app_data_dir,
|
| base::Callback<void(const base::FilePath&)> callback,
|
| - const web_app::ShortcutInfo& info) {
|
| + scoped_ptr<web_app::ShortcutInfo> info) {
|
| content::BrowserThread::PostTaskAndReplyWithResult(
|
| - content::BrowserThread::FILE,
|
| - FROM_HERE,
|
| - base::Bind(web_app::CreateShortcutInWebAppDir, app_data_dir, info),
|
| + content::BrowserThread::FILE, FROM_HERE,
|
| + base::Bind(web_app::CreateShortcutInWebAppDir, app_data_dir,
|
| + base::Passed(&info)),
|
| callback);
|
| }
|
| #endif
|
|
|