| Index: content/common/content_security_policy/csp_source_list.cc
|
| diff --git a/content/common/content_security_policy/csp_source_list.cc b/content/common/content_security_policy/csp_source_list.cc
|
| index d48b7c77b332d7d13c3d9904aa38364148196af7..31a5f4969d6638ee793c0f91ad2ca165f222be6a 100644
|
| --- a/content/common/content_security_policy/csp_source_list.cc
|
| +++ b/content/common/content_security_policy/csp_source_list.cc
|
| @@ -27,10 +27,7 @@ CSPSourceList::CSPSourceList()
|
| CSPSourceList::CSPSourceList(bool allow_self,
|
| bool allow_star,
|
| std::vector<CSPSource> sources)
|
| - : allow_self(allow_self), allow_star(allow_star), sources(sources) {
|
| - // When the '*' source is used, it must be the only one.
|
| - DCHECK(!allow_star || (!allow_self && sources.empty()));
|
| -}
|
| + : allow_self(allow_self), allow_star(allow_star), sources(sources) {}
|
|
|
| CSPSourceList::CSPSourceList(const CSPSourceList&) = default;
|
| CSPSourceList::~CSPSourceList() = default;
|
|
|