Index: chrome/browser/android/banners/app_banner_infobar_delegate_android.cc |
diff --git a/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc b/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc |
index 43204e58d41be665ba819c9ea5499e824917eea5..8e54002f2cdd6df1e8bb55d75de6b314b1ceb852 100644 |
--- a/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc |
+++ b/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc |
@@ -253,13 +253,10 @@ bool AppBannerInfoBarDelegateAndroid::Accept() { |
const std::string& uid = base::GenerateGUID(); |
content::BrowserThread::PostTask( |
- content::BrowserThread::IO, |
- FROM_HERE, |
- base::Bind(&ShortcutHelper::AddShortcutInBackgroundWithSkBitmap, |
- info, |
- uid, |
- *app_icon_.get())); |
- data_fetcher_->FetchWebappSplashScreenImage(uid); |
+ content::BrowserThread::IO, FROM_HERE, |
+ base::Bind(&ShortcutHelper::AddShortcutInBackgroundWithSkBitmap, info, |
+ uid, *app_icon_.get(), |
+ data_fetcher_->FetchWebappSplashScreenImageCallback(uid))); |
SendBannerAccepted(web_contents, "web"); |
return true; |