Index: chrome/browser/profiles/profile_impl.cc |
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
index 6599b978a8cba3bdcec2051fc9b552119086d46c..b297ba1fa33e705330662c6cf25fbb417c017ad1 100644 |
--- a/chrome/browser/profiles/profile_impl.cc |
+++ b/chrome/browser/profiles/profile_impl.cc |
@@ -661,6 +661,9 @@ ProfileImpl::~ProfileImpl() { |
if (protocol_handler_registry_) |
protocol_handler_registry_->Finalize(); |
+ if (host_content_settings_map_) |
+ host_content_settings_map_->ShutdownOnUIThread(); |
+ |
// This causes the Preferences file to be written to disk. |
MarkAsCleanShutdown(); |
} |