Index: util/mach/child_port_handshake.cc |
diff --git a/util/mach/child_port_handshake.cc b/util/mach/child_port_handshake.cc |
index b45a7170f2cad361f623a1bac936487a1d0d725b..eedcf47b267fb6e477017fe42bee221c82ce6b38 100644 |
--- a/util/mach/child_port_handshake.cc |
+++ b/util/mach/child_port_handshake.cc |
@@ -80,7 +80,7 @@ mach_port_t ChildPortHandshake::RunServer() { |
pipe_read_.reset(); |
// Transfer ownership of the write pipe into this method’s scope. |
- base::ScopedFD pipe_write_owner(pipe_write_.release()); |
+ base::ScopedFD pipe_write_owner = pipe_write_.Pass(); |
Robert Sesek
2015/03/11 22:44:22
I can revert this one if you prefer the other.
Mark Mentovai
2015/03/12 02:58:27
Robert Sesek wrote:
|
// Initialize the token and share it with the client via the pipe. |
token_ = base::RandUint64(); |