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

Unified Diff: content/browser/storage_partition_impl.cc

Issue 238043002: Teach EmbeddedWorkerInstance to create a process when it needs one. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Handle 2 places where context_ could be NULL. Created 6 years, 8 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/storage_partition_impl.cc
diff --git a/content/browser/storage_partition_impl.cc b/content/browser/storage_partition_impl.cc
index ef446bdf0aad6c160bf8de15c48e799f2bccab4e..9a876b5cff845158f960c97d9c6f1d0618f0f995 100644
--- a/content/browser/storage_partition_impl.cc
+++ b/content/browser/storage_partition_impl.cc
@@ -416,7 +416,7 @@ StoragePartitionImpl* StoragePartitionImpl::Create(
idb_task_runner);
scoped_refptr<ServiceWorkerContextWrapper> service_worker_context =
- new ServiceWorkerContextWrapper();
+ new ServiceWorkerContextWrapper(context);
service_worker_context->Init(path, quota_manager->proxy());
scoped_refptr<ChromeAppCacheService> appcache_service =

Powered by Google App Engine
This is Rietveld 408576698