Index: content/common/content_security_policy/csp_context_unittest.cc |
diff --git a/content/common/content_security_policy/csp_context_unittest.cc b/content/common/content_security_policy/csp_context_unittest.cc |
index 41bbca409532871832e6ab84c6de007cb687980d..e34c300d68cba222f616b7790c9846c3e6bba8e1 100644 |
--- a/content/common/content_security_policy/csp_context_unittest.cc |
+++ b/content/common/content_security_policy/csp_context_unittest.cc |
@@ -35,11 +35,11 @@ class CSPContextTest : public CSPContext { |
ContentSecurityPolicy BuildPolicy(CSPDirective::Name directive_name, |
std::vector<CSPSource> sources) { |
return ContentSecurityPolicy( |
- blink::WebContentSecurityPolicyTypeEnforce, |
- blink::WebContentSecurityPolicySourceHTTP, |
+ ContentSecurityPolicyHeader(std::string(), // header |
+ blink::WebContentSecurityPolicyTypeEnforce, |
+ blink::WebContentSecurityPolicySourceHTTP), |
{CSPDirective(directive_name, CSPSourceList(false, false, sources))}, |
- std::vector<std::string>(), // report_end_points |
- std::string()); // header |
+ std::vector<std::string>()); // report_end_points |
} |
} // namespace; |