| Index: chrome/browser/image_decoder.cc
|
| diff --git a/chrome/browser/image_decoder.cc b/chrome/browser/image_decoder.cc
|
| index 864f40425c29d4fa49118d276eca2d14cbff40da..b5706ce0e3cf65480677c117be0471ed1a7a855f 100644
|
| --- a/chrome/browser/image_decoder.cc
|
| +++ b/chrome/browser/image_decoder.cc
|
| @@ -209,7 +209,7 @@ void ImageDecoder::OnDecodeImageSucceeded(
|
| image_request_id_map_.erase(it);
|
| }
|
|
|
| - DCHECK(image_request->task_runner()->RunsTasksOnCurrentThread());
|
| + DCHECK(image_request->task_runner()->RunsTasksInCurrentSequence());
|
| image_request->OnImageDecoded(decoded_image);
|
| }
|
|
|
| @@ -224,6 +224,6 @@ void ImageDecoder::OnDecodeImageFailed(int request_id) {
|
| image_request_id_map_.erase(it);
|
| }
|
|
|
| - DCHECK(image_request->task_runner()->RunsTasksOnCurrentThread());
|
| + DCHECK(image_request->task_runner()->RunsTasksInCurrentSequence());
|
| image_request->OnDecodeImageFailed();
|
| }
|
|
|