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

Unified Diff: chrome/test/testing_profile.cc

Issue 7218073: Explicitly ShutdownOnUIThread the HostContentSettingsMap when destroying the Profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 9 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/testing_profile.cc
diff --git a/chrome/test/testing_profile.cc b/chrome/test/testing_profile.cc
index 8ba85f0df03abd57e7567a8875e8ac4b0e02af8d..f3a08300b7dd0b43ebd06f62719b32a7761ca6d5 100644
--- a/chrome/test/testing_profile.cc
+++ b/chrome/test/testing_profile.cc
@@ -174,6 +174,9 @@ TestingProfile::~TestingProfile() {
profile_dependency_manager_->DestroyProfileServices(this);
+ if (host_content_settings_map_)
+ host_content_settings_map_->ShutdownOnUIThread();
+
DestroyTopSites();
DestroyHistoryService();
// FaviconService depends on HistoryServce so destroying it later.

Powered by Google App Engine
This is Rietveld 408576698