| Index: third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| index 2cd5e93762e8d441f37b8bb9d0067302a94e46d3..218d6373fea198e466bed9213f9325e7961c269e 100644
|
| --- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| @@ -878,7 +878,8 @@ void setFeaturePolicy(Document* document, const String& featurePolicyHeader) {
|
| WebParsedFeaturePolicy containerPolicy;
|
| if (frame->owner()) {
|
| containerPolicy = getContainerPolicyFromAllowedFeatures(
|
| - frame->owner()->allowedFeatures(),
|
| + frame->owner()->allowedFeatures(), frame->owner()->allowFullscreen(),
|
| + frame->owner()->allowPaymentRequest(),
|
| frame->securityContext()->getSecurityOrigin());
|
| }
|
| frame->securityContext()->initializeFeaturePolicy(
|
|
|