Index: mojo/edk/test/test_utils_win.cc |
diff --git a/mojo/edk/test/test_utils_win.cc b/mojo/edk/test/test_utils_win.cc |
index e01d45a67fbf6d211b31be228dab820448df3e48..17bf5bbfa3ea4a9e1e31bb3cbdaccc9a06ab8a3d 100644 |
--- a/mojo/edk/test/test_utils_win.cc |
+++ b/mojo/edk/test/test_utils_win.cc |
@@ -107,7 +107,7 @@ base::ScopedFILE FILEFromPlatformHandle(ScopedPlatformHandle h, |
_open_osfhandle(reinterpret_cast<intptr_t>(h.release().handle), flags), |
mode)); |
PCHECK(rv) << "_fdopen"; |
- return rv.Pass(); |
+ return rv; |
} |
} // namespace test |