Index: content/browser/web_contents/web_contents_impl_browsertest.cc |
diff --git a/content/browser/web_contents/web_contents_impl_browsertest.cc b/content/browser/web_contents/web_contents_impl_browsertest.cc |
index 792b4eef5fba4f352d6bb814f16ede92f148fd31..b924b554c9a73e34c1f9e2abd015e7957685105d 100644 |
--- a/content/browser/web_contents/web_contents_impl_browsertest.cc |
+++ b/content/browser/web_contents/web_contents_impl_browsertest.cc |
@@ -240,7 +240,7 @@ IN_PROC_BROWSER_TEST_F(WebContentsImplBrowserTest, FrameTree) { |
WebContentsImpl* wc = static_cast<WebContentsImpl*>(shell()->web_contents()); |
RenderViewHostImpl* rvh = static_cast<RenderViewHostImpl*>( |
wc->GetRenderViewHost()); |
- FrameTreeNode* root = wc->GetFrameTreeRootForTesting(); |
+ FrameTreeNode* root = wc->GetFrameTree()->GetRootForTesting(); |
// Check that the root node is properly created with the frame id of the |
// initial navigation. |
@@ -262,7 +262,7 @@ IN_PROC_BROWSER_TEST_F(WebContentsImplBrowserTest, FrameTree) { |
// tree in the browser process. |
NavigateToURL(shell(), embedded_test_server()->GetURL("/title1.html")); |
- root = wc->GetFrameTreeRootForTesting(); |
+ root = wc->GetFrameTree()->GetRootForTesting(); |
EXPECT_EQ(0UL, root->child_count()); |
EXPECT_EQ(std::string(), root->frame_name()); |
EXPECT_EQ(rvh->main_frame_id(), root->frame_id()); |