| Index: components/content_settings/core/browser/host_content_settings_map.cc
|
| diff --git a/components/content_settings/core/browser/host_content_settings_map.cc b/components/content_settings/core/browser/host_content_settings_map.cc
|
| index 73dd8092522d551c2e54174778fde2ba5aec46ad..3a4b2cbcf346588ee766f5202357abd3e72d0d70 100644
|
| --- a/components/content_settings/core/browser/host_content_settings_map.cc
|
| +++ b/components/content_settings/core/browser/host_content_settings_map.cc
|
| @@ -24,6 +24,7 @@
|
| #include "components/content_settings/core/common/content_settings_pattern.h"
|
| #include "components/content_settings/core/common/pref_names.h"
|
| #include "components/pref_registry/pref_registry_syncable.h"
|
| +#include "content/public/common/origin_util.h"
|
| #include "net/base/net_errors.h"
|
| #include "net/base/static_cookie_policy.h"
|
| #include "url/gurl.h"
|
| @@ -659,7 +660,7 @@ bool HostContentSettingsMap::ShouldAllowAllContent(
|
| #endif
|
| if (secondary_url.SchemeIs(kChromeUIScheme) &&
|
| content_type == CONTENT_SETTINGS_TYPE_COOKIES &&
|
| - primary_url.SchemeIsSecure()) {
|
| + IsOriginSecure(primary_url)) {
|
| return true;
|
| }
|
| #if defined(ENABLE_EXTENSIONS)
|
|
|