Index: content/browser/frame_host/frame_tree_node.cc |
diff --git a/content/browser/frame_host/frame_tree_node.cc b/content/browser/frame_host/frame_tree_node.cc |
index 094d3fbebeec43fcec050f6e441652f9fab44fd6..ed413e0d8e0586038b4b18866dcc187a5ae22f7c 100644 |
--- a/content/browser/frame_host/frame_tree_node.cc |
+++ b/content/browser/frame_host/frame_tree_node.cc |
@@ -267,10 +267,10 @@ void FrameTreeNode::ResetFeaturePolicy() { |
replication_state_.feature_policy_header.clear(); |
if (parent()) { |
feature_policy_ = FeaturePolicy::CreateFromParentPolicy( |
- parent()->feature_policy_.get(), current_origin()); |
+ parent()->feature_policy_.get(), nullptr, current_origin()); |
} else { |
- feature_policy_ = |
- FeaturePolicy::CreateFromParentPolicy(nullptr, current_origin()); |
+ feature_policy_ = FeaturePolicy::CreateFromParentPolicy(nullptr, nullptr, |
+ current_origin()); |
} |
} |