Index: content/browser/frame_host/render_frame_host_impl.cc |
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc |
index 4d73732c949fd49f38fec6ac333519fa26e84b05..8f13554ab90a0b6a622715962118dc2d1b294d3f 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -1867,10 +1867,9 @@ void RenderFrameHostImpl::OnDidSetFeaturePolicyHeader( |
void RenderFrameHostImpl::OnDidAddContentSecurityPolicy( |
const ContentSecurityPolicyHeader& header, |
- const std::vector<ContentSecurityPolicy>& policies) { |
+ const ContentSecurityPolicy& policy) { |
frame_tree_node()->AddContentSecurityPolicy(header); |
- for (const ContentSecurityPolicy& policy : policies) |
- AddContentSecurityPolicy(policy); |
+ AddContentSecurityPolicy(policy); |
} |
void RenderFrameHostImpl::OnEnforceInsecureRequestPolicy( |