Index: ipc/ipc_channel_mojo.h |
diff --git a/ipc/ipc_channel_mojo.h b/ipc/ipc_channel_mojo.h |
index cfadb50adc27bb1ac920cd8f3b47319b1cc2d888..85c84aa3d120201f5acca392795ef61d196b0f3b 100644 |
--- a/ipc/ipc_channel_mojo.h |
+++ b/ipc/ipc_channel_mojo.h |
@@ -83,11 +83,11 @@ class IPC_EXPORT ChannelMojo |
// These access protected API of IPC::Message, which has ChannelMojo |
// as a friend class. |
static MojoResult WriteToMessageAttachmentSet( |
- mojo::Array<mojom::SerializedHandlePtr> handle_buffer, |
+ base::Optional<std::vector<mojom::SerializedHandlePtr>> handle_buffer, |
Message* message); |
static MojoResult ReadFromMessageAttachmentSet( |
Message* message, |
- mojo::Array<mojom::SerializedHandlePtr>* handles); |
+ base::Optional<std::vector<mojom::SerializedHandlePtr>>* handles); |
// MojoBootstrapDelegate implementation |
void OnPipesAvailable(mojom::ChannelAssociatedPtr sender, |