Index: content/browser/service_worker/service_worker_storage.cc |
diff --git a/content/browser/service_worker/service_worker_storage.cc b/content/browser/service_worker/service_worker_storage.cc |
index 7525da2236e4fb29d8c0ea83a32dd2bfb71d7dc9..8d38845d39f3c2464ae8a0f7398a21e9904e9ec3 100644 |
--- a/content/browser/service_worker/service_worker_storage.cc |
+++ b/content/browser/service_worker/service_worker_storage.cc |
@@ -1370,7 +1370,8 @@ ServiceWorkerStorage::GetOrCreateRegistration( |
return registration; |
registration = new ServiceWorkerRegistration( |
- data.scope, data.registration_id, context_); |
+ ServiceWorkerRegistrationOptions(data.scope), data.registration_id, |
+ context_); |
registration->set_resources_total_size_bytes(data.resources_total_size_bytes); |
registration->set_last_update_check(data.last_update_check); |
if (pending_deletions_.find(data.registration_id) != |