Index: mojo/public/cpp/bindings/lib/pipe_control_message_proxy.cc |
diff --git a/mojo/public/cpp/bindings/lib/pipe_control_message_proxy.cc b/mojo/public/cpp/bindings/lib/pipe_control_message_proxy.cc |
index c1508ae3374bf41c02cc10f0a91568aef8e88a1d..e2155e793563ec672014d7a0dfc47eaf3f74ccf3 100644 |
--- a/mojo/public/cpp/bindings/lib/pipe_control_message_proxy.cc |
+++ b/mojo/public/cpp/bindings/lib/pipe_control_message_proxy.cc |
@@ -54,7 +54,8 @@ void PipeControlMessageProxy::NotifyPeerEndpointClosed(InterfaceId id) { |
pipe_control::RunOrClosePipeInput::New()); |
input->set_peer_associated_endpoint_closed_event(std::move(event)); |
- SendRunOrClosePipeMessage(receiver_, std::move(input), &context_); |
+ internal::SerializationContext context; |
+ SendRunOrClosePipeMessage(receiver_, std::move(input), &context); |
} |
void PipeControlMessageProxy::NotifyEndpointClosedBeforeSent(InterfaceId id) { |
@@ -67,7 +68,8 @@ void PipeControlMessageProxy::NotifyEndpointClosedBeforeSent(InterfaceId id) { |
pipe_control::RunOrClosePipeInput::New()); |
input->set_associated_endpoint_closed_before_sent_event(std::move(event)); |
- SendRunOrClosePipeMessage(receiver_, std::move(input), &context_); |
+ internal::SerializationContext context; |
+ SendRunOrClosePipeMessage(receiver_, std::move(input), &context); |
} |
} // namespace mojo |