| Index: third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| index d54daaaf746fbd5a2a6a3fed6f48fa6960c3e6ca..a90e72fb90291bb6d1e11b16d19203c69ecfa7de 100644
|
| --- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| @@ -586,12 +586,12 @@ void DocumentLoader::ResponseReceived(
|
| kContentSecurityPolicyHeaderTypeEnforce,
|
| kContentSecurityPolicyHeaderSourceHTTP);
|
| } else {
|
| - ContentSecurityPolicy* embedding_csp = ContentSecurityPolicy::Create();
|
| - embedding_csp->AddPolicyFromHeaderValue(
|
| + ContentSecurityPolicy* required_csp = ContentSecurityPolicy::Create();
|
| + required_csp->AddPolicyFromHeaderValue(
|
| GetFrameLoader().RequiredCSP(),
|
| kContentSecurityPolicyHeaderTypeEnforce,
|
| kContentSecurityPolicyHeaderSourceHTTP);
|
| - if (!embedding_csp->Subsumes(*content_security_policy_)) {
|
| + if (!required_csp->Subsumes(*content_security_policy_)) {
|
| String message = "Refused to display '" +
|
| response.Url().ElidedString() +
|
| "' because it has not opted-into the following policy "
|
|
|