Index: third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp b/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp |
index 83256796abfc75d8aeb4ce0ab09a10556f33faaf..b656c0e940353307d3f43cb1868306b6c9a1a263 100644 |
--- a/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp |
@@ -433,7 +433,7 @@ void WebRemoteFrameImpl::setReplicatedName(const WebString& name, |
} |
void WebRemoteFrameImpl::setReplicatedFeaturePolicyHeader( |
- const WebString& headerValue) const { |
+ const WebVector<WebFeaturePolicy::ParsedWhitelist>& headerPolicy) const { |
if (RuntimeEnabledFeatures::featurePolicyEnabled()) { |
SecurityContext* parentSecurityContext = nullptr; |
if (parent()) { |
@@ -441,7 +441,7 @@ void WebRemoteFrameImpl::setReplicatedFeaturePolicyHeader( |
parentSecurityContext = parentFrame->securityContext(); |
} |
frame()->securityContext()->setFeaturePolicyFromHeader( |
- headerValue, parentSecurityContext); |
+ headerPolicy, parentSecurityContext); |
} |
} |