Index: content/child/navigator_connect/service_port_provider.cc |
diff --git a/content/child/navigator_connect/service_port_provider.cc b/content/child/navigator_connect/service_port_provider.cc |
index c66a748dc1877689f65a1691e80e4a3f90533b6d..8369ff57975ab37d313ef080d78786b391713a80 100644 |
--- a/content/child/navigator_connect/service_port_provider.cc |
+++ b/content/child/navigator_connect/service_port_provider.cc |
@@ -80,7 +80,7 @@ void ServicePortProvider::closePort(blink::WebServicePortID port_id) { |
GetServicePortServicePtr()->ClosePort(port_id); |
} |
-void ServicePortProvider::PostMessage( |
+void ServicePortProvider::PostMessageToPort( |
int32_t port_id, |
const mojo::String& message, |
mojo::Array<MojoTransferredMessagePortPtr> ports, |
@@ -98,7 +98,7 @@ void ServicePortProvider::PostMessageToBrowser( |
int port_id, |
const base::string16& message, |
const std::vector<TransferredMessagePort> ports) { |
- GetServicePortServicePtr()->PostMessage( |
+ GetServicePortServicePtr()->PostMessageToPort( |
port_id, mojo::String::From(message), |
mojo::Array<MojoTransferredMessagePortPtr>::From(ports)); |
} |