| 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 9556e3f9e72a2f97618157daa8ce7a0fb069d005..a8702b1c0ce29308b4ba9a1cff8a7a153581555c 100644
|
| --- a/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc
|
| +++ b/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc
|
| @@ -260,8 +260,9 @@ bool AppBannerInfoBarDelegateAndroid::Accept() {
|
| const std::string& uid = base::GenerateGUID();
|
| content::BrowserThread::PostTask(
|
| content::BrowserThread::IO, FROM_HERE,
|
| - base::Bind(&ShortcutHelper::AddToLauncherInBackgroundWithSkBitmap, info,
|
| - uid, *app_icon_.get(),
|
| + base::Bind(&ShortcutHelper::AddToLauncherInBackgroundWithSkBitmap,
|
| + web_contents->GetBrowserContext(), info, uid,
|
| + *app_icon_.get(),
|
| data_fetcher_->FetchWebappSplashScreenImageCallback(uid)));
|
|
|
| SendBannerAccepted(web_contents, "web");
|
|
|