Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index be0e04fb75556eaa024b35c21bfea2cb0b5a753a..f643b8895833b89dc6a47fcd3daccda4a94636cc 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -837,6 +837,7 @@ content::ResourceContext* TestingProfile::GetResourceContext() { |
} |
HostContentSettingsMap* TestingProfile::GetHostContentSettingsMap() { |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
if (!host_content_settings_map_.get()) { |
host_content_settings_map_ = new HostContentSettingsMap(GetPrefs(), false); |
#if defined(ENABLE_EXTENSIONS) |