Index: chrome/browser/profiles/off_the_record_profile_impl.cc |
diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc |
index ef044dffaf316c53e9cb128fe3da6e5f26402f30..3e557ac42ec0995b0cb3f3fd9fb436bec7d60203 100644 |
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc |
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc |
@@ -354,6 +354,7 @@ HostContentSettingsMap* OffTheRecordProfileImpl::GetHostContentSettingsMap() { |
// ensure the preferences have been migrated. |
profile_->GetHostContentSettingsMap(); |
if (!host_content_settings_map_.get()) { |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
rpetterson
2014/09/26 03:46:34
Is there a reason not to have this at the start of
Jun Mukai
2014/09/26 07:45:14
The motivation of this CL is to strip off the depe
blundell
2014/09/26 07:50:41
I think the question is why this DCHECK shouldn't
Jun Mukai
2014/09/26 18:37:37
Ah...
HostContentSettings is thread-safe object an
|
host_content_settings_map_ = new HostContentSettingsMap(GetPrefs(), true); |
#if defined(ENABLE_EXTENSIONS) |
ExtensionService* extension_service = |