Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Unified Diff: content/browser/service_worker/service_worker_registration_handle.cc

Issue 2771823002: Implement updateViaCache flag and no-cache by default for main service worker scripts
Patch Set: fix tests Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/service_worker/service_worker_registration_handle.cc
diff --git a/content/browser/service_worker/service_worker_registration_handle.cc b/content/browser/service_worker/service_worker_registration_handle.cc
index 42fe249dc2f1c0db5e487493df37ec5b1336e2aa..0ef7569a8ff22e2b62ba5f3eaf1f35abb9d3b8ff 100644
--- a/content/browser/service_worker/service_worker_registration_handle.cc
+++ b/content/browser/service_worker/service_worker_registration_handle.cc
@@ -47,7 +47,7 @@ ServiceWorkerRegistrationObjectInfo
ServiceWorkerRegistrationHandle::GetObjectInfo() {
ServiceWorkerRegistrationObjectInfo info;
info.handle_id = handle_id_;
- info.scope = registration_->pattern();
+ info.options.scope = registration_->pattern();
info.registration_id = registration_->id();
return info;
}

Powered by Google App Engine
This is Rietveld 408576698