Index: content/child/background_sync/background_sync_provider.cc |
diff --git a/content/child/background_sync/background_sync_provider.cc b/content/child/background_sync/background_sync_provider.cc |
index 174807c7f8a3c4a4054766c3becc01c10ed407fa..9387354fc51383c3452ce66b95b93283d82c29b9 100644 |
--- a/content/child/background_sync/background_sync_provider.cc |
+++ b/content/child/background_sync/background_sync_provider.cc |
@@ -34,9 +34,9 @@ int64_t GetServiceWorkerRegistrationId( |
} |
void ConnectToServiceOnMainThread( |
- mojo::InterfaceRequest<blink::mojom::BackgroundSyncService> request) { |
+ blink::mojom::BackgroundSyncServiceRequest request) { |
DCHECK(ChildThreadImpl::current()); |
- ChildThreadImpl::current()->service_registry()->ConnectToRemoteService( |
+ ChildThreadImpl::current()->remote_interfaces()->GetInterface( |
std::move(request)); |
} |