diff options
author | dcheng <dcheng@chromium.org> | 2015-12-28 20:19:48 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-29 04:21:11 +0000 |
commit | a3c693e216157a8fddaa5080b503d35f7f9c2745 (patch) | |
tree | 227a43e57281c45e1a4619193414dbc374328eb2 /google_apis | |
parent | a352d7c482891dd488302b06e87929b14877c7dc (diff) | |
download | chromium_src-a3c693e216157a8fddaa5080b503d35f7f9c2745.zip chromium_src-a3c693e216157a8fddaa5080b503d35f7f9c2745.tar.gz chromium_src-a3c693e216157a8fddaa5080b503d35f7f9c2745.tar.bz2 |
Global conversion of Pass()→std::move() on OS=linux chromecast=1
(╯^□^)╯︵ ❄☃❄
BUG=557422
R=avi@chromium.org
TBR=jam@chromium.org
Review URL: https://codereview.chromium.org/1553493002
Cr-Commit-Position: refs/heads/master@{#367050}
Diffstat (limited to 'google_apis')
-rw-r--r-- | google_apis/drive/files_list_request_runner_unittest.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/google_apis/drive/files_list_request_runner_unittest.cc b/google_apis/drive/files_list_request_runner_unittest.cc index 51b72c6..e3e472d 100644 --- a/google_apis/drive/files_list_request_runner_unittest.cc +++ b/google_apis/drive/files_list_request_runner_unittest.cc @@ -4,6 +4,8 @@ #include "google_apis/drive/files_list_request_runner.h" +#include <utility> + #include "base/memory/scoped_ptr.h" #include "base/message_loop/message_loop.h" #include "base/run_loop.h" @@ -93,7 +95,7 @@ class FilesListRequestRunnerTest : public testing::Test { // happen. void OnCompleted(DriveApiErrorCode error, scoped_ptr<FileList> entry) { response_error_.reset(new DriveApiErrorCode(error)); - response_entry_ = entry.Pass(); + response_entry_ = std::move(entry); on_completed_callback_.Run(); } @@ -113,7 +115,7 @@ class FilesListRequestRunnerTest : public testing::Test { const GURL& base_url, const net::test_server::HttpRequest& request) { http_request_.reset(new net::test_server::HttpRequest(request)); - return fake_server_response_.Pass(); + return std::move(fake_server_response_); } base::MessageLoopForIO message_loop_; // Test server needs IO thread. |