Index: content/browser/frame_host/render_frame_host_impl.cc |
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc |
index 1448dd8939f48fe69578f4ecea6344312c1111fc..513cf2340fe46cc44504889cb24eaa1723c60a53 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -3338,8 +3338,10 @@ void RenderFrameHostImpl::ResetFeaturePolicy() { |
RenderFrameHostImpl* parent_frame_host = GetParent(); |
const FeaturePolicy* parent_policy = |
parent_frame_host ? parent_frame_host->get_feature_policy() : nullptr; |
+ // TODO(iclelland): Get the frame owner properties here to reset properly. |
+ ParsedFeaturePolicyHeader container_policy; |
feature_policy_ = FeaturePolicy::CreateFromParentPolicy( |
- parent_policy, nullptr, last_committed_origin_); |
+ parent_policy, container_policy, last_committed_origin_); |
} |
void RenderFrameHostImpl::Create( |