| Index: chrome/test/base/testing_profile.cc
|
| diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
|
| index 64d44dadcb5baeec2ba9eceff83d560f65d23a2f..878d2a4b4121e8882026d4ee233da2bd6eab8e47 100644
|
| --- a/chrome/test/base/testing_profile.cc
|
| +++ b/chrome/test/base/testing_profile.cc
|
| @@ -830,6 +830,9 @@ content::ResourceContext* TestingProfile::GetResourceContext() {
|
| }
|
|
|
| HostContentSettingsMap* TestingProfile::GetHostContentSettingsMap() {
|
| + DCHECK(!content::BrowserThread::IsThreadInitialized(
|
| + content::BrowserThread::UI) ||
|
| + content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
|
| if (!host_content_settings_map_.get()) {
|
| host_content_settings_map_ = new HostContentSettingsMap(GetPrefs(), false);
|
| #if defined(ENABLE_EXTENSIONS)
|
|
|