Index: content/renderer/render_thread_impl.cc |
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc |
index de3c9f0c240da75edb7615aecbbc763c6bd5a0ee..9ae306d9d32d6ae4071530592ed08338943a4b22 100644 |
--- a/content/renderer/render_thread_impl.cc |
+++ b/content/renderer/render_thread_impl.cc |
@@ -360,8 +360,8 @@ void CreateFrameFactory(mojom::FrameFactoryRequest request) { |
} |
void SetupEmbeddedWorkerOnWorkerThread( |
- shell::mojom::InterfaceProviderRequest services, |
- shell::mojom::InterfaceProviderPtrInfo exposed_services) { |
+ shell::mojom::InterfaceProviderRequest request, |
+ shell::mojom::InterfaceProviderPtrInfo remote_interfaces) { |
ServiceWorkerContextClient* client = |
ServiceWorkerContextClient::ThreadSpecificInstance(); |
// It is possible for client to be null if for some reason the worker died |
@@ -369,8 +369,8 @@ void SetupEmbeddedWorkerOnWorkerThread( |
// nothing and let mojo close the connection. |
if (!client) |
return; |
- client->BindServiceRegistry(std::move(services), |
- mojo::MakeProxy(std::move(exposed_services))); |
+ client->BindInterfaceProviders(std::move(request), |
+ mojo::MakeProxy(std::move(remote_interfaces))); |
} |
class EmbeddedWorkerSetupImpl : public mojom::EmbeddedWorkerSetup { |
@@ -381,12 +381,12 @@ class EmbeddedWorkerSetupImpl : public mojom::EmbeddedWorkerSetup { |
void ExchangeInterfaceProviders( |
int32_t thread_id, |
- shell::mojom::InterfaceProviderRequest services, |
- shell::mojom::InterfaceProviderPtr exposed_services) override { |
+ shell::mojom::InterfaceProviderRequest request, |
+ shell::mojom::InterfaceProviderPtr remote_interfaces) override { |
WorkerThreadRegistry::Instance()->GetTaskRunnerFor(thread_id)->PostTask( |
FROM_HERE, |
- base::Bind(&SetupEmbeddedWorkerOnWorkerThread, base::Passed(&services), |
- base::Passed(exposed_services.PassInterface()))); |
+ base::Bind(&SetupEmbeddedWorkerOnWorkerThread, base::Passed(&request), |
+ base::Passed(remote_interfaces.PassInterface()))); |
} |
private: |