| Index: chrome/browser/android/webapps/add_to_homescreen_dialog_helper.cc
|
| diff --git a/chrome/browser/android/webapps/add_to_homescreen_dialog_helper.cc b/chrome/browser/android/webapps/add_to_homescreen_dialog_helper.cc
|
| index 4a95a2c505f38046d09db5974d6d1004f95884e9..465ec4c7f6cb5f07ab1a9758f20b8c083657c170 100644
|
| --- a/chrome/browser/android/webapps/add_to_homescreen_dialog_helper.cc
|
| +++ b/chrome/browser/android/webapps/add_to_homescreen_dialog_helper.cc
|
| @@ -121,11 +121,9 @@ void AddToHomescreenDialogHelper::AddShortcut(const ShortcutInfo& info,
|
| RecordAddToHomescreen();
|
|
|
| const std::string& uid = base::GenerateGUID();
|
| - content::BrowserThread::PostTask(
|
| - content::BrowserThread::IO, FROM_HERE,
|
| - base::Bind(&ShortcutHelper::AddToLauncherInBackgroundWithSkBitmap,
|
| - web_contents->GetBrowserContext(), info, uid, icon,
|
| - data_fetcher_->FetchSplashScreenImageCallback(uid)));
|
| + ShortcutHelper::AddToLauncherWithSkBitmap(
|
| + web_contents->GetBrowserContext(), info, uid, icon,
|
| + data_fetcher_->FetchSplashScreenImageCallback(uid));
|
| }
|
|
|
| bool AddToHomescreenDialogHelper::RegisterAddToHomescreenDialogHelper(
|
|
|