Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(714)

Unified Diff: google_apis/drive/base_requests_unittest.cc

Issue 1547233002: Convert Pass()→std::move() in //google_apis (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « google_apis/drive/base_requests.cc ('k') | google_apis/drive/drive_api_parser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/drive/base_requests_unittest.cc
diff --git a/google_apis/drive/base_requests_unittest.cc b/google_apis/drive/base_requests_unittest.cc
index e5baf6ca34c2154bd51accade045a372d1471a32..aa12ab821b24c9a356295a626f590047cf399f90 100644
--- a/google_apis/drive/base_requests_unittest.cc
+++ b/google_apis/drive/base_requests_unittest.cc
@@ -5,6 +5,7 @@
#include "google_apis/drive/base_requests.h"
#include <stdint.h>
+#include <utility>
#include "base/bind.h"
#include "base/memory/scoped_ptr.h"
@@ -129,7 +130,7 @@ class BaseRequestsTest : public testing::Test {
response->set_code(response_code_);
response->set_content(response_body_);
response->set_content_type("application/json");
- return response.Pass();
+ return std::move(response);
}
base::MessageLoopForIO message_loop_;
« no previous file with comments | « google_apis/drive/base_requests.cc ('k') | google_apis/drive/drive_api_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698