Index: content/browser/service_worker/service_worker_job_coordinator.cc |
diff --git a/content/browser/service_worker/service_worker_job_coordinator.cc b/content/browser/service_worker/service_worker_job_coordinator.cc |
index e5e89620e86769b8fd03890ca49753d993b89380..c3bfb396b4f03b0ed05d6aee63d7bec75fe64788 100644 |
--- a/content/browser/service_worker/service_worker_job_coordinator.cc |
+++ b/content/browser/service_worker/service_worker_job_coordinator.cc |
@@ -71,14 +71,14 @@ ServiceWorkerJobCoordinator::~ServiceWorkerJobCoordinator() { |
void ServiceWorkerJobCoordinator::Register( |
const GURL& pattern, |
const GURL& script_url, |
- int source_process_id, |
+ ServiceWorkerProviderHost* provider_host, |
const ServiceWorkerRegisterJob::RegistrationCallback& callback) { |
scoped_ptr<ServiceWorkerRegisterJobBase> job( |
new ServiceWorkerRegisterJob(context_, pattern, script_url)); |
ServiceWorkerRegisterJob* queued_job = |
static_cast<ServiceWorkerRegisterJob*>( |
job_queues_[pattern].Push(job.Pass())); |
- queued_job->AddCallback(callback, source_process_id); |
+ queued_job->AddCallback(callback, provider_host); |
} |
void ServiceWorkerJobCoordinator::Unregister( |