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

Unified Diff: services/js/system/tests/js_to_cpp_tests.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/http_server/http_server_apptest.cc ('k') | services/kiosk_wm/merged_service_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/js/system/tests/js_to_cpp_tests.cc
diff --git a/services/js/system/tests/js_to_cpp_tests.cc b/services/js/system/tests/js_to_cpp_tests.cc
index 50f01f67a1134419a4be252ba54b59413791958a..3001a2a0d6b835a255f7841ce09ebfd0343a0cb2 100644
--- a/services/js/system/tests/js_to_cpp_tests.cc
+++ b/services/js/system/tests/js_to_cpp_tests.cc
@@ -98,7 +98,7 @@ js_to_cpp::EchoArgsPtr BuildSampleEchoArgs() {
string_array[1] = "two";
string_array[2] = "three";
args->string_array = string_array.Pass();
- return args.Pass();
+ return args;
}
void CheckSampleEchoArgs(const js_to_cpp::EchoArgs& arg) {
« no previous file with comments | « services/http_server/http_server_apptest.cc ('k') | services/kiosk_wm/merged_service_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698