| Index: chrome/browser/ui/web_applications/web_app_ui.cc
|
| diff --git a/chrome/browser/ui/web_applications/web_app_ui.cc b/chrome/browser/ui/web_applications/web_app_ui.cc
|
| index 8a5bf2a0df6f0376e676cc1fe238247f83af9dca..04ab5ac7f8f7c6972f4370de60d41ea774511e2b 100644
|
| --- a/chrome/browser/ui/web_applications/web_app_ui.cc
|
| +++ b/chrome/browser/ui/web_applications/web_app_ui.cc
|
| @@ -291,8 +291,8 @@ void UpdateShortcutWorker::UpdateShortcutsOnFileThread() {
|
| return;
|
| }
|
|
|
| - base::FilePath icon_file = web_app_path.Append(file_name_).ReplaceExtension(
|
| - FILE_PATH_LITERAL(".ico"));
|
| + base::FilePath icon_file =
|
| + web_app::internals::GetIconFilePath(web_app_path, shortcut_info_.title);
|
| web_app::internals::CheckAndSaveIcon(icon_file, shortcut_info_.favicon);
|
|
|
| // Update existing shortcuts' description, icon and app id.
|
|
|