Index: content/browser/service_worker/service_worker_registration.cc |
diff --git a/content/browser/service_worker/service_worker_registration.cc b/content/browser/service_worker/service_worker_registration.cc |
index 5f995607c01b5db8cd1584a5efbf2b34b844feb5..c99efc89ceb7d5c4c03087c75bf6106c1bad0a67 100644 |
--- a/content/browser/service_worker/service_worker_registration.cc |
+++ b/content/browser/service_worker/service_worker_registration.cc |
@@ -30,6 +30,7 @@ ServiceWorkerRegistration::ServiceWorkerRegistration( |
registration_id_(registration_id), |
is_deleted_(false), |
is_uninstalling_(false), |
+ is_uninstalled_(false), |
should_activate_when_ready_(false), |
context_(context) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
@@ -287,6 +288,7 @@ void ServiceWorkerRegistration::OnDeleteFinished( |
void ServiceWorkerRegistration::Clear() { |
is_uninstalling_ = false; |
+ is_uninstalled_ = true; |
if (context_) |
context_->storage()->NotifyDoneUninstallingRegistration(this); |