Index: components/wallpaper/wallpaper_resizer.cc |
diff --git a/components/wallpaper/wallpaper_resizer.cc b/components/wallpaper/wallpaper_resizer.cc |
index 0bfa3d4648c52ee7a343c6bb2764e42f73bae96a..bd215df5234e6b00c76589e7e2b98f66ade25fa8 100644 |
--- a/components/wallpaper/wallpaper_resizer.cc |
+++ b/components/wallpaper/wallpaper_resizer.cc |
@@ -34,7 +34,7 @@ void Resize(const gfx::ImageSkia image, |
WallpaperLayout layout, |
SkBitmap* resized_bitmap_out, |
base::TaskRunner* task_runner) { |
- DCHECK(task_runner->RunsTasksOnCurrentThread()); |
+ DCHECK(task_runner->RunsTasksInCurrentSequence()); |
SkBitmap orig_bitmap = *image.bitmap(); |
SkBitmap new_bitmap = orig_bitmap; |