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

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

Issue 596613002: Remove content dependencies from content settings providers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: shutdown fix Created 6 years, 3 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/profile_impl.cc
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index adf8ee4ddfb9ba4def205c654b656eff735c884e..96cc87305d025efaf4f3455bc932b7681b34c3a9 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -1127,6 +1127,7 @@ net::SSLConfigService* ProfileImpl::GetSSLConfigService() {
HostContentSettingsMap* ProfileImpl::GetHostContentSettingsMap() {
if (!host_content_settings_map_.get()) {
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
host_content_settings_map_ = new HostContentSettingsMap(GetPrefs(), false);
}
return host_content_settings_map_.get();

Powered by Google App Engine
This is Rietveld 408576698