| Index: net/base/file_stream_context_win.cc
|
| diff --git a/net/base/file_stream_context_win.cc b/net/base/file_stream_context_win.cc
|
| index 1a39384c5ee66d3ab843e977aa5ccae36788ec0a..c7c6fe82b8d19de96e3c9d80a8775035c3113931 100644
|
| --- a/net/base/file_stream_context_win.cc
|
| +++ b/net/base/file_stream_context_win.cc
|
| @@ -9,7 +9,6 @@
|
| #include "base/files/file_path.h"
|
| #include "base/logging.h"
|
| #include "base/message_loop/message_loop.h"
|
| -#include "base/message_loop/message_loop_proxy.h"
|
| #include "base/metrics/histogram.h"
|
| #include "base/task_runner.h"
|
| #include "base/threading/worker_pool.h"
|
| @@ -88,7 +87,7 @@ int FileStream::Context::Read(IOBuffer* buf,
|
| base::Bind(&FileStream::Context::ReadAsync, base::Unretained(this),
|
| file_.GetPlatformFile(), make_scoped_refptr(buf), buf_len,
|
| &io_context_.overlapped,
|
| - base::MessageLoop::current()->message_loop_proxy()));
|
| + base::MessageLoop::current()->task_runner()));
|
| return ERR_IO_PENDING;
|
| }
|
|
|
| @@ -213,7 +212,7 @@ void FileStream::Context::ReadAsync(
|
| scoped_refptr<IOBuffer> buf,
|
| int buf_len,
|
| OVERLAPPED* overlapped,
|
| - scoped_refptr<base::MessageLoopProxy> origin_thread_loop) {
|
| + scoped_refptr<base::SingleThreadTaskRunner> origin_thread_loop) {
|
| DWORD bytes_read = 0;
|
| BOOL ret = ::ReadFile(file, buf->data(), buf_len, &bytes_read, overlapped);
|
| origin_thread_loop->PostTask(
|
|
|