| Index: chrome/browser/android/shortcut_helper.cc
|
| diff --git a/chrome/browser/android/shortcut_helper.cc b/chrome/browser/android/shortcut_helper.cc
|
| index 9afc8153bd7de246235d75b5390318a9dccdd170..d0a7aa53b96d5c3bf78ccf2ce1e63c0a0e9faf17 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;
|
|
|