| Index: content/common/content_security_policy/csp_policy.cc
|
| diff --git a/content/common/content_security_policy/csp_policy.cc b/content/common/content_security_policy/csp_policy.cc
|
| index 0abbd3437381ebf0b6ac53beed7e2a9394efab68..763aaed3284a263008c563fdfccff549d9479fd1 100644
|
| --- a/content/common/content_security_policy/csp_policy.cc
|
| +++ b/content/common/content_security_policy/csp_policy.cc
|
| @@ -143,12 +143,13 @@ void CSPPolicy::ReportViolation(CSPContext* context,
|
| message << "\n";
|
|
|
| context->LogToConsole(message.str());
|
| - context->ReportViolation(CSPDirective::NameToString(directive.name),
|
| - CSPDirective::NameToString(directive_name),
|
| - message.str(), url, report_endpoints,
|
| - // TODO(arthursonzogni): consider passing the
|
| - // original header
|
| - "", disposition);
|
| + context->ReportViolation(
|
| + CSPViolationParams(CSPDirective::NameToString(directive.name),
|
| + CSPDirective::NameToString(directive_name),
|
| + message.str(), url, report_endpoints,
|
| + // TODO(arthursonzogni): consider passing the
|
| + // original header
|
| + "", disposition));
|
| }
|
|
|
| } // namespace content
|
|
|