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

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

Issue 943333007: ServiceWorker: Fix DCHECK failure during DB recovery. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: follow michaeln@'s solution Created 5 years, 10 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 | content/browser/service_worker/service_worker_registration_status.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4f4e8d1fdc98ff0be4f11a74750d6af300034a63..4ae67d4155b62f38144cfd2d4f9c069726f5f58e 100644
--- a/content/browser/service_worker/service_worker_context_core.cc
+++ b/content/browser/service_worker/service_worker_context_core.cc
@@ -141,8 +141,7 @@ ServiceWorkerContextCore::ServiceWorkerContextCore(
ServiceWorkerContextWrapper* wrapper)
: wrapper_(wrapper),
providers_(old_context->providers_.release()),
- cache_manager_(ServiceWorkerCacheStorageManager::Create(
- old_context->cache_manager())),
+ cache_manager_(old_context->cache_manager_.release()),
next_handle_id_(old_context->next_handle_id_),
next_registration_handle_id_(old_context->next_registration_handle_id_),
observer_list_(old_context->observer_list_),
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_registration_status.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698