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 815957fbe74a7ddd8edc7b76e6e255531b77c5f5..bc55cb26db57533d4050e4ae37e0a09bc64cecdf 100644 |
--- a/chrome/browser/android/webapps/add_to_homescreen_dialog_helper.cc |
+++ b/chrome/browser/android/webapps/add_to_homescreen_dialog_helper.cc |
@@ -121,14 +121,10 @@ void AddToHomescreenDialogHelper::AddShortcut(const ShortcutInfo& info, |
const std::string& uid = base::GenerateGUID(); |
content::BrowserThread::PostTask( |
- content::BrowserThread::IO, |
- FROM_HERE, |
- base::Bind(&ShortcutHelper::AddShortcutInBackgroundWithSkBitmap, |
- info, |
- uid, |
- icon)); |
- |
- data_fetcher_->FetchSplashScreenImage(uid); |
+ content::BrowserThread::IO, FROM_HERE, |
+ base::Bind(&ShortcutHelper::AddShortcutInBackgroundWithSkBitmap, info, |
+ uid, icon, |
+ data_fetcher_->FetchSplashScreenImageCallback(uid))); |
} |
bool AddToHomescreenDialogHelper::RegisterAddToHomescreenDialogHelper( |