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

Unified Diff: content/browser/storage_partition_impl.cc

Issue 2929113002: Enable spare RenderProcessHost to be preinitialized. (Closed)
Patch Set: check connection Created 3 years, 6 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 dbea3089dcedd5db9aadf7a77f1ca91fa4c4a054..21664ce9c96d56b71dd8a425e5c4aa90212fe57f 100644
--- a/content/browser/storage_partition_impl.cc
+++ b/content/browser/storage_partition_impl.cc
@@ -21,6 +21,7 @@
#include "content/browser/fileapi/browser_file_system_helper.h"
#include "content/browser/gpu/shader_cache_factory.h"
#include "content/browser/notifications/platform_notification_context_impl.h"
+#include "content/browser/renderer_host/render_process_host_impl.h"
#include "content/common/dom_storage/dom_storage_types.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
@@ -400,6 +401,8 @@ StoragePartitionImpl::~StoragePartitionImpl() {
base::Bind(&storage::DatabaseTracker::Shutdown, GetDatabaseTracker()));
}
+ RenderProcessHostImpl::OnStorageParitionShutdown(this);
+
if (GetFileSystemContext())
GetFileSystemContext()->Shutdown();

Powered by Google App Engine
This is Rietveld 408576698