Index: third_party/zlib/google/zip_reader.cc |
diff --git a/third_party/zlib/google/zip_reader.cc b/third_party/zlib/google/zip_reader.cc |
index 1bdf81c7b34e329caa0d8312cc6f9765762b9900..fdeb1259b3a0f4d9911c2300c98223a3e0c70ca8 100644 |
--- a/third_party/zlib/google/zip_reader.cc |
+++ b/third_party/zlib/google/zip_reader.cc |
@@ -10,7 +10,6 @@ |
#include "base/files/file.h" |
#include "base/logging.h" |
#include "base/macros.h" |
-#include "base/message_loop/message_loop.h" |
#include "base/single_thread_task_runner.h" |
#include "base/strings/string_util.h" |
#include "base/strings/utf_string_conversions.h" |
@@ -392,7 +391,7 @@ void ZipReader::ExtractCurrentEntryToFilePathAsync( |
return; |
} |
- base::MessageLoop::current()->task_runner()->PostTask( |
+ base::ThreadTaskRunnerHandle::Get()->PostTask( |
FROM_HERE, |
base::Bind(&ZipReader::ExtractChunk, weak_ptr_factory_.GetWeakPtr(), |
Passed(std::move(output_file)), success_callback, |
@@ -499,7 +498,7 @@ void ZipReader::ExtractChunk(base::File output_file, |
progress_callback.Run(current_progress); |
- base::MessageLoop::current()->task_runner()->PostTask( |
+ base::ThreadTaskRunnerHandle::Get()->PostTask( |
FROM_HERE, |
base::Bind(&ZipReader::ExtractChunk, weak_ptr_factory_.GetWeakPtr(), |
Passed(std::move(output_file)), success_callback, |