| Index: content/browser/storage_partition_impl.cc
|
| diff --git a/content/browser/storage_partition_impl.cc b/content/browser/storage_partition_impl.cc
|
| index 55f3c73cd4b184f9dc7533fa1f9518c61c2da44d..29d434a61cbc632b5a7d89867a39bba220e7716c 100644
|
| --- a/content/browser/storage_partition_impl.cc
|
| +++ b/content/browser/storage_partition_impl.cc
|
| @@ -417,6 +417,9 @@ StoragePartitionImpl::~StoragePartitionImpl() {
|
|
|
| if (GetGeofencingManager())
|
| GetGeofencingManager()->Shutdown();
|
| +
|
| + if (GetPlatformNotificationContext())
|
| + GetPlatformNotificationContext()->Shutdown();
|
| }
|
|
|
| StoragePartitionImpl* StoragePartitionImpl::Create(
|
| @@ -500,7 +503,7 @@ StoragePartitionImpl* StoragePartitionImpl::Create(
|
| new NavigatorConnectServiceWorkerServiceFactory(service_worker_context)));
|
|
|
| scoped_refptr<PlatformNotificationContextImpl> platform_notification_context =
|
| - new PlatformNotificationContextImpl(path);
|
| + new PlatformNotificationContextImpl(path, service_worker_context);
|
|
|
| StoragePartitionImpl* storage_partition = new StoragePartitionImpl(
|
| context, partition_path, quota_manager.get(), appcache_service.get(),
|
|
|