Index: net/ftp/ftp_ctrl_response_buffer.cc |
diff --git a/net/ftp/ftp_ctrl_response_buffer.cc b/net/ftp/ftp_ctrl_response_buffer.cc |
index b3f2d2399a142c4be7f62951129fc043286fb28e..064068e965ea7573ec01e2eb79f3edfe13fa3c14 100644 |
--- a/net/ftp/ftp_ctrl_response_buffer.cc |
+++ b/net/ftp/ftp_ctrl_response_buffer.cc |
@@ -4,6 +4,8 @@ |
#include "net/ftp/ftp_ctrl_response_buffer.h" |
+#include <utility> |
+ |
#include "base/bind.h" |
#include "base/logging.h" |
#include "base/strings/string_number_conversions.h" |
@@ -87,8 +89,8 @@ scoped_ptr<base::Value> NetLogFtpCtrlResponseCallback( |
scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue()); |
dict->SetInteger("status_code", response->status_code); |
- dict->Set("lines", lines.Pass()); |
- return dict.Pass(); |
+ dict->Set("lines", std::move(lines)); |
+ return std::move(dict); |
} |
} // namespace |