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 8e324266a609dd29bfe3f57b554dd0c1ffca8f67..8ad1f71ecbb76b46355d69fa4f4b5b25f83ca2bc 100644 |
--- a/content/browser/web_contents/web_contents_impl_browsertest.cc |
+++ b/content/browser/web_contents/web_contents_impl_browsertest.cc |
@@ -224,7 +224,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. |
@@ -246,7 +246,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()); |