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

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

Issue 417043006: ServiceWorker: Make SWProviderHost listen to SWRegistration (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address michael's comments Created 6 years, 4 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_storage.cc
diff --git a/content/browser/service_worker/service_worker_storage.cc b/content/browser/service_worker/service_worker_storage.cc
index f09127ee81457e61b4101b0c53a124e7d3b2fda7..31fb5772522e7a9dfaed20866a58efba21ad2571 100644
--- a/content/browser/service_worker/service_worker_storage.cc
+++ b/content/browser/service_worker/service_worker_storage.cc
@@ -492,7 +492,7 @@ void ServiceWorkerStorage::DeleteRegistration(
ServiceWorkerRegistration* registration =
context_->GetLiveRegistration(registration_id);
if (registration)
- registration->set_is_deleted();
+ registration->SetIsDeleted();
}
scoped_ptr<ServiceWorkerResponseReader>
@@ -924,7 +924,7 @@ ServiceWorkerStorage::GetOrCreateRegistration(
data.scope, data.script, data.registration_id, context_);
if (pending_deletions_.find(data.registration_id) !=
pending_deletions_.end()) {
- registration->set_is_deleted();
+ registration->SetIsDeleted();
}
scoped_refptr<ServiceWorkerVersion> version =
context_->GetLiveVersion(data.version_id);

Powered by Google App Engine
This is Rietveld 408576698