| Index: chrome/browser/android/shortcut_helper.cc
|
| diff --git a/chrome/browser/android/shortcut_helper.cc b/chrome/browser/android/shortcut_helper.cc
|
| index 8d8066c310a37bb9e37964221bf3fe2f4cfe8027..7ab56020584b889955e925293c0723aaf604679e 100644
|
| --- a/chrome/browser/android/shortcut_helper.cc
|
| +++ b/chrome/browser/android/shortcut_helper.cc
|
| @@ -236,10 +236,11 @@ void ShortcutHelper::StoreWebappSplashImage(
|
| }
|
|
|
| // static
|
| -SkBitmap ShortcutHelper::FinalizeLauncherIcon(const SkBitmap& bitmap,
|
| - const GURL& url,
|
| - bool* is_generated) {
|
| - DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
|
| +SkBitmap ShortcutHelper::FinalizeLauncherIconInBackground(
|
| + const SkBitmap& bitmap,
|
| + const GURL& url,
|
| + bool* is_generated) {
|
| + DCHECK(content::BrowserThread::GetBlockingPool()->RunsTasksOnCurrentThread());
|
|
|
| JNIEnv* env = base::android::AttachCurrentThread();
|
| ScopedJavaLocalRef<jobject> result;
|
|
|