| Index: chrome/browser/android/shortcut_helper.cc
|
| diff --git a/chrome/browser/android/shortcut_helper.cc b/chrome/browser/android/shortcut_helper.cc
|
| index 6d39a8f339f4bd33f7e37a443d257fae3b7940af..0cf1e5a2d8f73da1890d2c1fe7f56479a934f639 100644
|
| --- a/chrome/browser/android/shortcut_helper.cc
|
| +++ b/chrome/browser/android/shortcut_helper.cc
|
| @@ -236,7 +236,7 @@ SkBitmap ShortcutHelper::FinalizeLauncherIconInBackground(
|
| const SkBitmap& bitmap,
|
| const GURL& url,
|
| bool* is_generated) {
|
| - DCHECK(content::BrowserThread::GetBlockingPool()->RunsTasksOnCurrentThread());
|
| + base::ThreadRestrictions::AssertIOAllowed();
|
|
|
| JNIEnv* env = base::android::AttachCurrentThread();
|
| ScopedJavaLocalRef<jobject> result;
|
|
|