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 3e9377e3bbac21ac1eb8e62b821119ec21868600..848d1206ba984c9a2539a40db8f793fdd2ffad2a 100644 |
--- a/chrome/browser/ui/app_list/app_list_view_delegate.cc |
+++ b/chrome/browser/ui/app_list/app_list_view_delegate.cc |
@@ -93,11 +93,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 |