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

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

Issue 224733014: Introduce ServiceWorkerHandle for tracking WebServiceWorkerImpl reference (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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_context_core.cc
diff --git a/content/browser/service_worker/service_worker_context_core.cc b/content/browser/service_worker/service_worker_context_core.cc
index c49d25be35047ef7875d5d5b16e0d48f8543218a..29f63655fae4f7ccf18313a3e4ebd04e91f800df 100644
--- a/content/browser/service_worker/service_worker_context_core.cc
+++ b/content/browser/service_worker/service_worker_context_core.cc
@@ -110,9 +110,8 @@ void ServiceWorkerContextCore::RegistrationComplete(
return;
}
- DCHECK(version->registration());
callback.Run(status,
- version->registration()->id(),
+ version->registration_id(),
version->version_id());
}

Powered by Google App Engine
This is Rietveld 408576698