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

Unified Diff: services/http_server/http_server_apptest.cc

Issue 1408793006: Convert "return local_var.Pass();" to "return local_var;". (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 months 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 | « services/gles2/command_buffer_type_conversions.cc ('k') | services/js/system/tests/js_to_cpp_tests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/http_server/http_server_apptest.cc
diff --git a/services/http_server/http_server_apptest.cc b/services/http_server/http_server_apptest.cc
index 6aad3b3b2770263024c92a5f3e2037b6bdb38fb1..c27aa35ccafebe592f25b1f769da9a84452de5fc 100644
--- a/services/http_server/http_server_apptest.cc
+++ b/services/http_server/http_server_apptest.cc
@@ -125,7 +125,7 @@ http_server::HttpServerPtr HttpServerApplicationTest::CreateHttpServer() {
local_address->ipv4->port = 0;
http_server_factory_->CreateHttpServer(GetProxy(&http_server).Pass(),
local_address.Pass());
- return http_server.Pass();
+ return http_server;
}
void CheckServerResponse(mojo::URLResponsePtr response) {
« no previous file with comments | « services/gles2/command_buffer_type_conversions.cc ('k') | services/js/system/tests/js_to_cpp_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698