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

Unified Diff: chrome/test/base/testing_profile.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/test/base/testing_profile.cc
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
index 4be44c5379bfd8f9b4d5ad085a4f516d49bb9d87..bf7e5955b5c8d7c6b62ca641fb135d5d3a96c50b 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -514,6 +514,8 @@ void TestingProfile::FinishInit() {
}
TestingProfile::~TestingProfile() {
+ ShutdownStoragePartitions();
+
// Revert to non-incognito mode before shutdown.
force_incognito_ = false;

Powered by Google App Engine
This is Rietveld 408576698