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 907d863b8e4eb7296180a328cd64b2a9dd3c068c..0294a1aa48617a94633c349ab0f756297418871f 100644 |
--- a/net/base/file_stream_context_win.cc |
+++ b/net/base/file_stream_context_win.cc |
@@ -5,6 +5,7 @@ |
#include "net/base/file_stream_context.h" |
#include <windows.h> |
+#include <utility> |
#include "base/files/file_path.h" |
#include "base/location.h" |
@@ -50,7 +51,7 @@ 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), |