| 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 5336e87bd1413da6cf7435c9031e2bb7f0af1f40..ca0b64438445d62cebe2e84c25b612efe06fc650 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 WebParsedFeaturePolicy& 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);
|
| }
|
| }
|
|
|