Index: sandbox/mac/xpc_message_server.cc |
diff --git a/sandbox/mac/xpc_message_server.cc b/sandbox/mac/xpc_message_server.cc |
index e161b5a2d0ca0fa088063afcee987426692db8ee..d811e5d5c451d54391142d2cb868be0caa7d4cc3 100644 |
--- a/sandbox/mac/xpc_message_server.cc |
+++ b/sandbox/mac/xpc_message_server.cc |
@@ -104,7 +104,7 @@ mach_port_t XPCMessageServer::GetServerPort() const { |
void XPCMessageServer::ReceiveMessage() { |
IPCMessage request; |
- int rv = xpc_pipe_receive(server_port_, &request.xpc); |
+ int rv = xpc_pipe_receive(server_port_.get(), &request.xpc); |
if (rv) { |
LOG(ERROR) << "Failed to xpc_pipe_receive(): " << rv; |
return; |