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

Unified Diff: third_party/mojo/src/mojo/edk/test/test_utils_posix.cc

Issue 1545333002: Convert Pass()→std::move() in //third_party/mojo (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 | « third_party/mojo/src/mojo/edk/test/multiprocess_test_helper_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mojo/src/mojo/edk/test/test_utils_posix.cc
diff --git a/third_party/mojo/src/mojo/edk/test/test_utils_posix.cc b/third_party/mojo/src/mojo/edk/test/test_utils_posix.cc
index 9fd529762bdf675a4b6b355a8e6a2e92dced727f..60845f1c2cdfc3874b0a9661a55b04f05fc1a909 100644
--- a/third_party/mojo/src/mojo/edk/test/test_utils_posix.cc
+++ b/third_party/mojo/src/mojo/edk/test/test_utils_posix.cc
@@ -84,7 +84,7 @@ base::ScopedFILE FILEFromPlatformHandle(embedder::ScopedPlatformHandle h,
CHECK(h.is_valid());
base::ScopedFILE rv(fdopen(h.release().fd, mode));
PCHECK(rv) << "fdopen";
- return rv.Pass();
+ return rv;
}
} // namespace test
« no previous file with comments | « third_party/mojo/src/mojo/edk/test/multiprocess_test_helper_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698