| Index: third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp
|
| index 399514c495d73f0549d76331e85dcacc51b585c1..8d9d4d8bad3fe0724817aaa1319e542395bfdd0e 100644
|
| --- a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp
|
| @@ -243,7 +243,7 @@ Document* ContentSecurityPolicy::GetDocument() const {
|
| }
|
|
|
| void ContentSecurityPolicy::CopyStateFrom(const ContentSecurityPolicy* other) {
|
| - ASSERT(policies_.IsEmpty());
|
| + DCHECK(policies_.IsEmpty());
|
| for (const auto& policy : other->policies_)
|
| AddAndReportPolicyFromHeaderValue(policy->Header(), policy->HeaderType(),
|
| policy->HeaderSource());
|
|
|