Chromium Code Reviews| Index: content/child/service_worker/service_worker_dispatcher.cc |
| diff --git a/content/child/service_worker/service_worker_dispatcher.cc b/content/child/service_worker/service_worker_dispatcher.cc |
| index 7c63e775116a573110dad8b94ea188774ed507d6..82a52fba45d3f5e12c30fcf9259cf7823009f1a5 100644 |
| --- a/content/child/service_worker/service_worker_dispatcher.cc |
| +++ b/content/child/service_worker/service_worker_dispatcher.cc |
| @@ -116,7 +116,7 @@ ServiceWorkerDispatcher* ServiceWorkerDispatcher::ThreadSpecificInstance( |
| void ServiceWorkerDispatcher::OnRegistered(int thread_id, |
| int request_id, |
| - int64 registration_id, |
| + int handle_id, |
| int64 version_id) { |
| WebServiceWorkerProvider::WebServiceWorkerCallbacks* callbacks = |
| pending_callbacks_.Lookup(request_id); |
| @@ -131,7 +131,7 @@ void ServiceWorkerDispatcher::OnRegistered(int thread_id, |
| // duplicate registration. So for now we mint a new object each |
| // time. |
| scoped_ptr<WebServiceWorkerImpl> worker( |
| - new WebServiceWorkerImpl(registration_id, version_id, |
| + new WebServiceWorkerImpl(handle_id, version_id, |
|
michaeln
2014/04/08 01:21:41
in cases were the message doesn't get far and no W
kinuko
2014/04/08 08:43:31
Done.
|
| thread_safe_sender_)); |
| callbacks->onSuccess(worker.release()); |
| pending_callbacks_.Remove(request_id); |