| 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 709b6ef595f9d95d8651a340c63cb7abd1ce7490..997b3f1c8476b5f322ad51d4b4d0d4300114c012 100644
|
| --- a/chrome/browser/android/webapps/add_to_homescreen_dialog_helper.cc
|
| +++ b/chrome/browser/android/webapps/add_to_homescreen_dialog_helper.cc
|
| @@ -127,11 +127,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(
|
|
|