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

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

Issue 691413002: Removing redundant 'is_null' field in ServiceWorkerVersionInfo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « content/browser/service_worker/service_worker_registration_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b0cfe30899555d00f5ab85e8ded16a9d3d163346..a6be564c2e464e2bb18c78b6182edeea996012c4 100644
--- a/content/browser/service_worker/service_worker_storage.cc
+++ b/content/browser/service_worker/service_worker_storage.cc
@@ -954,11 +954,9 @@ void ServiceWorkerStorage::DidGetAllRegistrations(
}
if (it->is_active) {
- info.active_version.is_null = false;
info.active_version.status = ServiceWorkerVersion::ACTIVATED;
info.active_version.version_id = it->version_id;
} else {
- info.waiting_version.is_null = false;
info.waiting_version.status = ServiceWorkerVersion::INSTALLED;
info.waiting_version.version_id = it->version_id;
}
« no previous file with comments | « content/browser/service_worker/service_worker_registration_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698