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 1655c5f0b280b53d230d3a33f62ec5588b191271..f4242bb07efe7fb9a7e38427cd88a4d836178446 100644 |
--- a/content/browser/frame_host/navigation_controller_impl_unittest.cc |
+++ b/content/browser/frame_host/navigation_controller_impl_unittest.cc |
@@ -30,6 +30,7 @@ |
#include "content/browser/site_instance_impl.h" |
#include "content/browser/web_contents/web_contents_impl.h" |
#include "content/common/frame_messages.h" |
+#include "content/common/frame_owner_properties.h" |
#include "content/common/site_isolation_policy.h" |
#include "content/common/ssl_status_serialization.h" |
#include "content/common/view_messages.h" |
@@ -53,7 +54,6 @@ |
#include "content/test/test_web_contents.h" |
#include "skia/ext/platform_canvas.h" |
#include "testing/gtest/include/gtest/gtest.h" |
-#include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" |
#include "third_party/WebKit/public/web/WebSandboxFlags.h" |
using base::Time; |
@@ -2175,7 +2175,7 @@ TEST_F(NavigationControllerTest, NewSubframe) { |
main_test_rfh()->OnCreateChildFrame( |
process()->GetNextRoutingID(), blink::WebTreeScopeType::Document, |
std::string(), unique_name, blink::WebSandboxFlags::None, |
- blink::WebFrameOwnerProperties()); |
+ FrameOwnerProperties()); |
TestRenderFrameHost* subframe = static_cast<TestRenderFrameHost*>( |
contents()->GetFrameTree()->root()->child_at(0)->current_frame_host()); |
const GURL subframe_url("http://foo1/subframe"); |
@@ -2262,7 +2262,7 @@ TEST_F(NavigationControllerTest, AutoSubframe) { |
main_test_rfh()->OnCreateChildFrame( |
process()->GetNextRoutingID(), blink::WebTreeScopeType::Document, |
std::string(), unique_name0, blink::WebSandboxFlags::None, |
- blink::WebFrameOwnerProperties()); |
+ FrameOwnerProperties()); |
TestRenderFrameHost* subframe = static_cast<TestRenderFrameHost*>( |
contents()->GetFrameTree()->root()->child_at(0)->current_frame_host()); |
const GURL url2("http://foo/2"); |
@@ -2311,7 +2311,7 @@ TEST_F(NavigationControllerTest, AutoSubframe) { |
main_test_rfh()->OnCreateChildFrame( |
process()->GetNextRoutingID(), blink::WebTreeScopeType::Document, |
std::string(), unique_name1, blink::WebSandboxFlags::None, |
- blink::WebFrameOwnerProperties()); |
+ FrameOwnerProperties()); |
TestRenderFrameHost* subframe2 = static_cast<TestRenderFrameHost*>( |
contents()->GetFrameTree()->root()->child_at(1)->current_frame_host()); |
const GURL url3("http://foo/3"); |
@@ -2360,7 +2360,7 @@ TEST_F(NavigationControllerTest, AutoSubframe) { |
subframe->OnCreateChildFrame(process()->GetNextRoutingID(), |
blink::WebTreeScopeType::Document, std::string(), |
unique_name2, blink::WebSandboxFlags::None, |
- blink::WebFrameOwnerProperties()); |
+ FrameOwnerProperties()); |
TestRenderFrameHost* subframe3 = |
static_cast<TestRenderFrameHost*>(contents() |
->GetFrameTree() |
@@ -2429,7 +2429,7 @@ TEST_F(NavigationControllerTest, BackSubframe) { |
main_test_rfh()->OnCreateChildFrame( |
process()->GetNextRoutingID(), blink::WebTreeScopeType::Document, |
std::string(), unique_name, blink::WebSandboxFlags::None, |
- blink::WebFrameOwnerProperties()); |
+ FrameOwnerProperties()); |
TestRenderFrameHost* subframe = static_cast<TestRenderFrameHost*>( |
contents()->GetFrameTree()->root()->child_at(0)->current_frame_host()); |
const GURL subframe_url("http://foo1/subframe"); |
@@ -3907,7 +3907,7 @@ TEST_F(NavigationControllerTest, SameSubframe) { |
main_test_rfh()->OnCreateChildFrame( |
process()->GetNextRoutingID(), blink::WebTreeScopeType::Document, |
std::string(), unique_name, blink::WebSandboxFlags::None, |
- blink::WebFrameOwnerProperties()); |
+ FrameOwnerProperties()); |
TestRenderFrameHost* subframe = static_cast<TestRenderFrameHost*>( |
contents()->GetFrameTree()->root()->child_at(0)->current_frame_host()); |
const GURL subframe_url("http://www.google.com/#"); |
@@ -4083,7 +4083,7 @@ TEST_F(NavigationControllerTest, SubframeWhilePending) { |
main_test_rfh()->OnCreateChildFrame( |
process()->GetNextRoutingID(), blink::WebTreeScopeType::Document, |
std::string(), unique_name, blink::WebSandboxFlags::None, |
- blink::WebFrameOwnerProperties()); |
+ FrameOwnerProperties()); |
TestRenderFrameHost* subframe = static_cast<TestRenderFrameHost*>( |
contents()->GetFrameTree()->root()->child_at(0)->current_frame_host()); |
const GURL url1_sub("http://foo/subframe"); |