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

Unified Diff: mojo/edk/test/test_utils.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 | « mojo/dart/embedder/test/dart_to_cpp_tests.cc ('k') | mojo/gpu/texture_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/test/test_utils.cc
diff --git a/mojo/edk/test/test_utils.cc b/mojo/edk/test/test_utils.cc
index 70c1bdee27c704354b4ba07155655d6abd52aa94..1a0496221a33f6f15a3717444ca9ce231662c35c 100644
--- a/mojo/edk/test/test_utils.cc
+++ b/mojo/edk/test/test_utils.cc
@@ -86,7 +86,7 @@ util::ScopedFILE FILEFromPlatformHandle(embedder::ScopedPlatformHandle h,
CHECK(h.is_valid());
util::ScopedFILE rv(fdopen(h.release().fd, mode));
PCHECK(rv) << "fdopen";
- return rv.Pass();
+ return rv;
}
} // namespace test
« no previous file with comments | « mojo/dart/embedder/test/dart_to_cpp_tests.cc ('k') | mojo/gpu/texture_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698