Index: content/browser/service_worker/service_worker_provider_host.cc |
diff --git a/content/browser/service_worker/service_worker_provider_host.cc b/content/browser/service_worker/service_worker_provider_host.cc |
index 340b8cfa4cf330ad9c0400463c8d0766391ae9c6..14e104434ae494ddda790f81f1e365e958c55fac 100644 |
--- a/content/browser/service_worker/service_worker_provider_host.cc |
+++ b/content/browser/service_worker/service_worker_provider_host.cc |
@@ -11,6 +11,7 @@ |
#include "content/browser/service_worker/service_worker_controllee_request_handler.h" |
#include "content/browser/service_worker/service_worker_dispatcher_host.h" |
#include "content/browser/service_worker/service_worker_handle.h" |
+#include "content/browser/service_worker/service_worker_registration_handle.h" |
#include "content/browser/service_worker/service_worker_utils.h" |
#include "content/browser/service_worker/service_worker_version.h" |
#include "content/common/service_worker/service_worker_messages.h" |
@@ -99,7 +100,11 @@ void ServiceWorkerProviderHost::SetVersionAttributes( |
attributes.active = CreateHandleAndPass(active_version); |
dispatcher_host_->Send(new ServiceWorkerMsg_SetVersionAttributes( |
- kDocumentMainThreadId, provider_id(), mask.changed(), attributes)); |
+ kDocumentMainThreadId, |
+ provider_id(), |
+ kInvalidServiceWorkerRegistrationHandleId, |
+ mask.changed(), |
+ attributes)); |
} |
void ServiceWorkerProviderHost::SetVersionAttributesInternal( |