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

Unified Diff: content/common/service_worker/service_worker_types.cc

Issue 676963002: Fix uninitialized memory introduced in https://codereview.chromium.org/623823002/ (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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/service_worker/service_worker_types.cc
diff --git a/content/common/service_worker/service_worker_types.cc b/content/common/service_worker/service_worker_types.cc
index 3c2b6043876fe20463e65031bdf2730aa1bc581c..d7c178511065f31bddc8ce9e5b195d697dc56b92 100644
--- a/content/common/service_worker/service_worker_types.cc
+++ b/content/common/service_worker/service_worker_types.cc
@@ -73,6 +73,8 @@ ServiceWorkerObjectInfo::ServiceWorkerObjectInfo()
state(blink::WebServiceWorkerStateUnknown) {}
ServiceWorkerRegistrationObjectInfo::ServiceWorkerRegistrationObjectInfo()
- : handle_id(kInvalidServiceWorkerRegistrationHandleId) {}
+ : handle_id(kInvalidServiceWorkerRegistrationHandleId),
+ registration_id(kInvalidServiceWorkerRegistrationId) {
+}
} // namespace content
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698