| Index: chrome/browser/web_applications/web_app_win.cc
|
| diff --git a/chrome/browser/web_applications/web_app_win.cc b/chrome/browser/web_applications/web_app_win.cc
|
| index 0b6ee7b17dd7676baefc1808671b436a998a6fd6..de2ff25d3f5f8ac03a44683179f2f998aa13e606 100644
|
| --- a/chrome/browser/web_applications/web_app_win.cc
|
| +++ b/chrome/browser/web_applications/web_app_win.cc
|
| @@ -371,6 +371,9 @@ void OnShortcutInfoLoadedForSetRelaunchDetails(
|
| base::FilePath icon_file =
|
| web_app::internals::GetIconFilePath(web_app_path, shortcut_info->title);
|
|
|
| + // |shortcut_info->favicon| is not shared outside of this function, and needs
|
| + // to be used on another thread.
|
| + shortcut_info->favicon.DetachFromThread();
|
| web_app::ShortcutInfo::PostIOTask(
|
| base::BindOnce(&CreateIconAndSetRelaunchDetails, web_app_path, icon_file,
|
| hwnd),
|
|
|