Index: content/browser/frame_host/navigation_controller_impl_unittest.cc |
diff --git a/content/browser/frame_host/navigation_controller_impl_unittest.cc b/content/browser/frame_host/navigation_controller_impl_unittest.cc |
index cb9f270f846858b12fcdd45c09e8fa77ac3f1c2e..0f5e0061e1afb7f54e54ad2cde93b8fac5a4c9f4 100644 |
--- a/content/browser/frame_host/navigation_controller_impl_unittest.cc |
+++ b/content/browser/frame_host/navigation_controller_impl_unittest.cc |
@@ -2231,7 +2231,7 @@ TEST_F(NavigationControllerTest, NewSubframe) { |
main_test_rfh()->OnCreateChildFrame( |
process()->GetNextRoutingID(), blink::WebTreeScopeType::kDocument, |
std::string(), unique_name, blink::WebSandboxFlags::kNone, |
- FrameOwnerProperties()); |
+ ParsedFeaturePolicyHeader(), FrameOwnerProperties()); |
TestRenderFrameHost* subframe = static_cast<TestRenderFrameHost*>( |
contents()->GetFrameTree()->root()->child_at(0)->current_frame_host()); |
const GURL subframe_url("http://foo1/subframe"); |
@@ -2311,7 +2311,7 @@ TEST_F(NavigationControllerTest, AutoSubframe) { |
main_test_rfh()->OnCreateChildFrame( |
process()->GetNextRoutingID(), blink::WebTreeScopeType::kDocument, |
std::string(), unique_name0, blink::WebSandboxFlags::kNone, |
- FrameOwnerProperties()); |
+ ParsedFeaturePolicyHeader(), FrameOwnerProperties()); |
TestRenderFrameHost* subframe = static_cast<TestRenderFrameHost*>( |
contents()->GetFrameTree()->root()->child_at(0)->current_frame_host()); |
const GURL url2("http://foo/2"); |
@@ -2355,7 +2355,7 @@ TEST_F(NavigationControllerTest, AutoSubframe) { |
main_test_rfh()->OnCreateChildFrame( |
process()->GetNextRoutingID(), blink::WebTreeScopeType::kDocument, |
std::string(), unique_name1, blink::WebSandboxFlags::kNone, |
- FrameOwnerProperties()); |
+ ParsedFeaturePolicyHeader(), FrameOwnerProperties()); |
TestRenderFrameHost* subframe2 = static_cast<TestRenderFrameHost*>( |
contents()->GetFrameTree()->root()->child_at(1)->current_frame_host()); |
const GURL url3("http://foo/3"); |
@@ -2399,7 +2399,7 @@ TEST_F(NavigationControllerTest, AutoSubframe) { |
subframe->OnCreateChildFrame( |
process()->GetNextRoutingID(), blink::WebTreeScopeType::kDocument, |
std::string(), unique_name2, blink::WebSandboxFlags::kNone, |
- FrameOwnerProperties()); |
+ ParsedFeaturePolicyHeader(), FrameOwnerProperties()); |
TestRenderFrameHost* subframe3 = |
static_cast<TestRenderFrameHost*>(contents() |
->GetFrameTree() |
@@ -2463,7 +2463,7 @@ TEST_F(NavigationControllerTest, BackSubframe) { |
main_test_rfh()->OnCreateChildFrame( |
process()->GetNextRoutingID(), blink::WebTreeScopeType::kDocument, |
std::string(), unique_name, blink::WebSandboxFlags::kNone, |
- FrameOwnerProperties()); |
+ ParsedFeaturePolicyHeader(), FrameOwnerProperties()); |
TestRenderFrameHost* subframe = static_cast<TestRenderFrameHost*>( |
contents()->GetFrameTree()->root()->child_at(0)->current_frame_host()); |
const GURL subframe_url("http://foo1/subframe"); |
@@ -3917,7 +3917,7 @@ TEST_F(NavigationControllerTest, SameSubframe) { |
main_test_rfh()->OnCreateChildFrame( |
process()->GetNextRoutingID(), blink::WebTreeScopeType::kDocument, |
std::string(), unique_name, blink::WebSandboxFlags::kNone, |
- FrameOwnerProperties()); |
+ ParsedFeaturePolicyHeader(), FrameOwnerProperties()); |
TestRenderFrameHost* subframe = static_cast<TestRenderFrameHost*>( |
contents()->GetFrameTree()->root()->child_at(0)->current_frame_host()); |
const GURL subframe_url("http://www.google.com/#"); |
@@ -4092,7 +4092,7 @@ TEST_F(NavigationControllerTest, SubframeWhilePending) { |
main_test_rfh()->OnCreateChildFrame( |
process()->GetNextRoutingID(), blink::WebTreeScopeType::kDocument, |
std::string(), unique_name, blink::WebSandboxFlags::kNone, |
- FrameOwnerProperties()); |
+ ParsedFeaturePolicyHeader(), FrameOwnerProperties()); |
TestRenderFrameHost* subframe = static_cast<TestRenderFrameHost*>( |
contents()->GetFrameTree()->root()->child_at(0)->current_frame_host()); |
const GURL url1_sub("http://foo/subframe"); |