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

Unified Diff: chrome/browser/profiles/off_the_record_profile_io_data.cc

Issue 2159133002: Shutdown StoragePartition before ProfileIOData is being shut down (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more fix Created 4 years, 5 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: chrome/browser/profiles/off_the_record_profile_io_data.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_io_data.cc b/chrome/browser/profiles/off_the_record_profile_io_data.cc
index 904c59b9d903ceb4d9ce2aa406aedd060d3c9672..e9ed015e71734a134581495252907d2a3c9c5fc5 100644
--- a/chrome/browser/profiles/off_the_record_profile_io_data.cc
+++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc
@@ -56,6 +56,7 @@ OffTheRecordProfileIOData::Handle::Handle(Profile* profile)
OffTheRecordProfileIOData::Handle::~Handle() {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
+ profile_->ShutdownStoragePartitions();
io_data_->ShutdownOnUIThread(GetAllContextGetters());
}

Powered by Google App Engine
This is Rietveld 408576698