| 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 eb24bbd9069e701396819bcf62ca8c5c0cf60872..0550d8f8013cff56cdb4618588738dbb3caf8804 100644
|
| --- a/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp
|
| @@ -433,14 +433,14 @@ void WebRemoteFrameImpl::setReplicatedName(const WebString& name,
|
| }
|
|
|
| void WebRemoteFrameImpl::setReplicatedFeaturePolicyHeader(
|
| - const WebString& headerValue) const {
|
| + const WebVector<WebFeaturePolicy::ParsedWhitelist>& parsedHeader) const {
|
| if (RuntimeEnabledFeatures::featurePolicyEnabled()) {
|
| FeaturePolicy* parentFeaturePolicy = nullptr;
|
| if (parent()) {
|
| Frame* parentFrame = frame()->client()->parent();
|
| parentFeaturePolicy = parentFrame->securityContext()->getFeaturePolicy();
|
| }
|
| - frame()->securityContext()->setFeaturePolicyFromHeader(headerValue,
|
| + frame()->securityContext()->setFeaturePolicyFromHeader(parsedHeader,
|
| parentFeaturePolicy);
|
| }
|
| }
|
|
|