commit | 51ace48ad51bae53cef3d63a27fbabeb7d0ecafa | [log] [tgz] |
---|---|---|
author | dcheng <[email protected]> | Sat Dec 26 22:45:17 2015 |
committer | Commit bot <[email protected]> | Sat Dec 26 22:46:08 2015 |
tree | 75688ca279a49d844a7f7b08026836c7e352ccfd | |
parent | 4a9d9829bc889e6a2cc02dbc443d3032e1d2c81f [diff] [blame] |
Convert Pass()→std::move() in //components/[n-z]* BUG=557422 [email protected] [email protected] Review URL: https://codereview.chromium.org/1548203002 Cr-Commit-Position: refs/heads/master@{#366914}
diff --git a/components/rappor/log_uploader.cc b/components/rappor/log_uploader.cc index 3e594a01..247ddc1 100644 --- a/components/rappor/log_uploader.cc +++ b/components/rappor/log_uploader.cc
@@ -6,6 +6,7 @@ #include <stddef.h> #include <stdint.h> +#include <utility> #include "base/metrics/histogram_macros.h" #include "base/metrics/sparse_histogram.h" @@ -142,7 +143,7 @@ // Note however that |source| is aliased to the fetcher, so we should be // careful not to delete it too early. DCHECK_EQ(current_fetch_.get(), source); - scoped_ptr<net::URLFetcher> fetch(current_fetch_.Pass()); + scoped_ptr<net::URLFetcher> fetch(std::move(current_fetch_)); const net::URLRequestStatus& request_status = source->GetStatus();