| Index: net/base/file_stream_context_posix.cc
|
| diff --git a/net/base/file_stream_context_posix.cc b/net/base/file_stream_context_posix.cc
|
| index f84b7df9038dc8bcf7a2bd4b271d8f7b8f5dd858..af98c7825fefde6e94f5c61272d4b014f8a499d7 100644
|
| --- a/net/base/file_stream_context_posix.cc
|
| +++ b/net/base/file_stream_context_posix.cc
|
| @@ -5,6 +5,7 @@
|
| #include "net/base/file_stream_context.h"
|
|
|
| #include <errno.h>
|
| +#include <utility>
|
|
|
| #include "base/bind.h"
|
| #include "base/bind_helpers.h"
|
| @@ -29,11 +30,10 @@ FileStream::Context::Context(const scoped_refptr<base::TaskRunner>& task_runner)
|
|
|
| FileStream::Context::Context(base::File file,
|
| const scoped_refptr<base::TaskRunner>& task_runner)
|
| - : file_(file.Pass()),
|
| + : file_(std::move(file)),
|
| async_in_progress_(false),
|
| orphaned_(false),
|
| - task_runner_(task_runner) {
|
| -}
|
| + task_runner_(task_runner) {}
|
|
|
| FileStream::Context::~Context() {
|
| }
|
|
|