diff options
author | dcheng <dcheng@chromium.org> | 2015-12-25 19:56:48 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-26 03:57:46 +0000 |
commit | c7eeda42aff650547a3da73b0e0f6ab3f9b0ef13 (patch) | |
tree | 40b0bcb9cc341020cebfc29b2bcce331b034f5b3 /net/ftp | |
parent | 09487931ca01d32ab254555b29c51d648f45be3c (diff) | |
download | chromium_src-c7eeda42aff650547a3da73b0e0f6ab3f9b0ef13.zip chromium_src-c7eeda42aff650547a3da73b0e0f6ab3f9b0ef13.tar.gz chromium_src-c7eeda42aff650547a3da73b0e0f6ab3f9b0ef13.tar.bz2 |
Convert Pass()→std::move() in //net
BUG=557422
R=avi@chromium.org
TBR=gavinp@chromium.org
Review URL: https://codereview.chromium.org/1545233002
Cr-Commit-Position: refs/heads/master@{#366889}
Diffstat (limited to 'net/ftp')
-rw-r--r-- | net/ftp/ftp_ctrl_response_buffer.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/ftp/ftp_ctrl_response_buffer.cc b/net/ftp/ftp_ctrl_response_buffer.cc index b3f2d23..064068e 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 |