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 3beb56b79bd12456d919de368f5fdace3c017a25..a6c1b952758ac330a2358ee05f2bcbde597f47fe 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -3351,8 +3351,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( |