Index: mojo/edk/test/test_utils_posix.cc |
diff --git a/mojo/edk/test/test_utils_posix.cc b/mojo/edk/test/test_utils_posix.cc |
index f0eb5a26742e4fef0ea4f2974f08ed7b72aa22a6..bf836bff9b7b14839c408c13810298cf4610b048 100644 |
--- a/mojo/edk/test/test_utils_posix.cc |
+++ b/mojo/edk/test/test_utils_posix.cc |
@@ -85,7 +85,7 @@ base::ScopedFILE FILEFromPlatformHandle(ScopedPlatformHandle h, |
CHECK(h.is_valid()); |
base::ScopedFILE rv(fdopen(h.release().handle, mode)); |
PCHECK(rv) << "fdopen"; |
- return rv.Pass(); |
+ return rv; |
} |
} // namespace test |