| Index: chrome/browser/web_applications/web_app_linux.cc
|
| diff --git a/chrome/browser/web_applications/web_app_linux.cc b/chrome/browser/web_applications/web_app_linux.cc
|
| index 893173b1d85f50758b71b15caf7bdf7b85b34423..8cf5b9debf62b8fb0c7609e30499c19c7f41aa01 100644
|
| --- a/chrome/browser/web_applications/web_app_linux.cc
|
| +++ b/chrome/browser/web_applications/web_app_linux.cc
|
| @@ -21,11 +21,10 @@ void UpdateShortcutsForAllApps(Profile* profile,
|
|
|
| namespace internals {
|
|
|
| -bool CreatePlatformShortcuts(
|
| - const base::FilePath& web_app_path,
|
| - std::unique_ptr<ShortcutInfo> shortcut_info,
|
| - const ShortcutLocations& creation_locations,
|
| - ShortcutCreationReason /*creation_reason*/) {
|
| +bool CreatePlatformShortcuts(const base::FilePath& web_app_path,
|
| + scoped_refptr<ShortcutInfo> shortcut_info,
|
| + const ShortcutLocations& creation_locations,
|
| + ShortcutCreationReason /*creation_reason*/) {
|
| #if !defined(OS_CHROMEOS)
|
| DCHECK_CURRENTLY_ON(content::BrowserThread::FILE);
|
| return shell_integration_linux::CreateDesktopShortcut(*shortcut_info,
|
| @@ -36,7 +35,7 @@ bool CreatePlatformShortcuts(
|
| }
|
|
|
| void DeletePlatformShortcuts(const base::FilePath& web_app_path,
|
| - std::unique_ptr<ShortcutInfo> shortcut_info) {
|
| + scoped_refptr<ShortcutInfo> shortcut_info) {
|
| #if !defined(OS_CHROMEOS)
|
| shell_integration_linux::DeleteDesktopShortcuts(shortcut_info->profile_path,
|
| shortcut_info->extension_id);
|
| @@ -45,7 +44,7 @@ void DeletePlatformShortcuts(const base::FilePath& web_app_path,
|
|
|
| void UpdatePlatformShortcuts(const base::FilePath& web_app_path,
|
| const base::string16& /*old_app_title*/,
|
| - std::unique_ptr<ShortcutInfo> shortcut_info) {
|
| + scoped_refptr<ShortcutInfo> shortcut_info) {
|
| DCHECK_CURRENTLY_ON(content::BrowserThread::FILE);
|
|
|
| std::unique_ptr<base::Environment> env(base::Environment::Create());
|
|
|