Index: content/browser/web_contents/web_contents_impl_unittest.cc |
diff --git a/content/browser/web_contents/web_contents_impl_unittest.cc b/content/browser/web_contents/web_contents_impl_unittest.cc |
index b5f7cf4be15a589d1a00d4d2e99d5e6d98762b3b..81e61868d04f2528d9a3b650d699b3b407640c0e 100644 |
--- a/content/browser/web_contents/web_contents_impl_unittest.cc |
+++ b/content/browser/web_contents/web_contents_impl_unittest.cc |
@@ -438,7 +438,8 @@ TEST_F(WebContentsImplTest, CrossSiteBoundaries) { |
EXPECT_NE(instance1, instance2); |
EXPECT_TRUE(contents()->GetPendingRenderViewHost() == NULL); |
// We keep the original RVH around, swapped out. |
- EXPECT_TRUE(contents()->GetRenderManagerForTesting()->IsSwappedOut(orig_rvh)); |
+ EXPECT_TRUE(contents()->GetRenderManagerForTesting()->IsOnSwappedOutList( |
+ orig_rvh)); |
EXPECT_EQ(orig_rvh_delete_count, 0); |
// Going back should switch SiteInstances again. The first SiteInstance is |
@@ -463,7 +464,7 @@ TEST_F(WebContentsImplTest, CrossSiteBoundaries) { |
EXPECT_EQ(instance1, contents()->GetSiteInstance()); |
// The pending RVH should now be swapped out, not deleted. |
EXPECT_TRUE(contents()->GetRenderManagerForTesting()-> |
- IsSwappedOut(pending_rvh)); |
+ IsOnSwappedOutList(pending_rvh)); |
EXPECT_EQ(pending_rvh_delete_count, 0); |
// Close contents and ensure RVHs are deleted. |