| Index: third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
|
| index 0098a74c7df56d21f8ae5625965f14619200b80b..551e0a5bff2b3d0dfddc342f56d92542ca3d05ec 100644
|
| --- a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
|
| @@ -70,6 +70,7 @@
|
| #include "platform/UserGestureIndicator.h"
|
| #include "platform/exported/WrappedResourceRequest.h"
|
| #include "platform/exported/WrappedResourceResponse.h"
|
| +#include "platform/feature_policy/FeaturePolicy.h"
|
| #include "platform/network/HTTPParsers.h"
|
| #include "platform/network/mime/MIMETypeRegistry.h"
|
| #include "platform/plugins/PluginData.h"
|
| @@ -904,12 +905,15 @@ void LocalFrameClientImpl::didUpdateToUniqueOrigin() {
|
| m_webFrame->getSecurityOrigin().isPotentiallyTrustworthy());
|
| }
|
|
|
| -void LocalFrameClientImpl::didChangeSandboxFlags(Frame* childFrame,
|
| - SandboxFlags flags) {
|
| +void LocalFrameClientImpl::didChangeFramePolicy(
|
| + Frame* childFrame,
|
| + SandboxFlags flags,
|
| + const WebParsedFeaturePolicy& containerPolicy) {
|
| if (!m_webFrame->client())
|
| return;
|
| - m_webFrame->client()->didChangeSandboxFlags(
|
| - WebFrame::fromFrame(childFrame), static_cast<WebSandboxFlags>(flags));
|
| + m_webFrame->client()->didChangeFramePolicy(
|
| + WebFrame::fromFrame(childFrame), static_cast<WebSandboxFlags>(flags),
|
| + containerPolicy);
|
| }
|
|
|
| void LocalFrameClientImpl::didSetFeaturePolicyHeader(
|
|
|