Index: content/public/browser/utility_process_mojo_client.h |
diff --git a/content/public/browser/utility_process_mojo_client.h b/content/public/browser/utility_process_mojo_client.h |
index 35ff7fe516b7ffd172ac001dee2c3d6c780329b5..32c07f8d2541a15ff3c96c770d31fef2cef9f0bb 100644 |
--- a/content/public/browser/utility_process_mojo_client.h |
+++ b/content/public/browser/utility_process_mojo_client.h |
@@ -124,8 +124,8 @@ class UtilityProcessMojoClient { |
#endif // defined(OS_WIN) |
private: |
- // Starts the utility process and connects to the remote Mojo service. |
- void StartOnIOThread(const std::string& mojo_interface_name, |
+ // Starts the utility process and binds the specified interface. |
+ void StartOnIOThread(const std::string& interface_name, |
mojo::ScopedMessagePipeHandle interface_pipe) { |
DCHECK_CURRENTLY_ON(BrowserThread::IO); |
@@ -146,8 +146,7 @@ class UtilityProcessMojoClient { |
utility_host_->Start(); |
- utility_host_->GetRemoteInterfaces()->GetInterface( |
- mojo_interface_name, std::move(interface_pipe)); |
+ utility_host_->BindInterface(interface_name, std::move(interface_pipe)); |
} |
// Properties of the utility process. |