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

Unified Diff: content/child/service_worker/service_worker_provider_context.cc

Issue 1460653002: ServiceWorker: Fix messed registration attributes on ServiceWorkerGlobalScope (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comments Created 5 years, 1 month 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/registration-attribute.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/service_worker/service_worker_provider_context.cc
diff --git a/content/child/service_worker/service_worker_provider_context.cc b/content/child/service_worker/service_worker_provider_context.cc
index 9ef323ebcea2b7253b99fe2bccc20b33ce05df93..bc146210105dd5219101b336e79358e1e4f86d0c 100644
--- a/content/child/service_worker/service_worker_provider_context.cc
+++ b/content/child/service_worker/service_worker_provider_context.cc
@@ -92,7 +92,7 @@ class ServiceWorkerProviderContext::ControllerDelegate
scoped_ptr<ServiceWorkerHandleReference> active) override {
DCHECK(!registration_);
registration_ = registration.Pass();
- installing_ = active.Pass();
+ installing_ = installing.Pass();
waiting_ = waiting.Pass();
active_ = active.Pass();
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/registration-attribute.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698