| Index: chrome/browser/extensions/api/image_writer_private/operation.cc
|
| diff --git a/chrome/browser/extensions/api/image_writer_private/operation.cc b/chrome/browser/extensions/api/image_writer_private/operation.cc
|
| index 735915b10829c33bb2d797241fb54a2bf720797b..f4c1aa3402adf79d647b66323e529701c1538fd0 100644
|
| --- a/chrome/browser/extensions/api/image_writer_private/operation.cc
|
| +++ b/chrome/browser/extensions/api/image_writer_private/operation.cc
|
| @@ -263,10 +263,7 @@ void Operation::StartUtilityClient() {
|
|
|
| void Operation::StopUtilityClient() {
|
| DCHECK_CURRENTLY_ON(BrowserThread::FILE);
|
| - BrowserThread::PostTask(
|
| - BrowserThread::IO,
|
| - FROM_HERE,
|
| - base::Bind(&ImageWriterUtilityClient::Shutdown, image_writer_client_));
|
| + image_writer_client_->Shutdown();
|
| }
|
|
|
| void Operation::WriteImageProgress(int64_t total_bytes, int64_t curr_bytes) {
|
|
|