Index: content/browser/service_worker/service_worker_dispatcher_host.cc |
diff --git a/content/browser/service_worker/service_worker_dispatcher_host.cc b/content/browser/service_worker/service_worker_dispatcher_host.cc |
index d80cd145383564fe60cf3592cacea310c20fa7b6..1078ba1969ca71080b427ca4a32cf60023ad1957 100644 |
--- a/content/browser/service_worker/service_worker_dispatcher_host.cc |
+++ b/content/browser/service_worker/service_worker_dispatcher_host.cc |
@@ -639,7 +639,7 @@ void ServiceWorkerDispatcherHost::OnPostMessageToWorker( |
void ServiceWorkerDispatcherHost::OnProviderCreated( |
int provider_id, |
- int render_frame_id, |
+ int route_id, |
ServiceWorkerProviderType provider_type) { |
// TODO(pkasting): Remove ScopedTracker below once crbug.com/477117 is fixed. |
tracked_objects::ScopedTracker tracking_profile( |
@@ -655,11 +655,8 @@ void ServiceWorkerDispatcherHost::OnProviderCreated( |
return; |
} |
scoped_ptr<ServiceWorkerProviderHost> provider_host( |
- new ServiceWorkerProviderHost(render_process_id_, |
- render_frame_id, |
- provider_id, |
- provider_type, |
- GetContext()->AsWeakPtr(), |
+ new ServiceWorkerProviderHost(render_process_id_, route_id, provider_id, |
+ provider_type, GetContext()->AsWeakPtr(), |
this)); |
GetContext()->AddProviderHost(provider_host.Pass()); |
} |