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 ade955fba2a2d5702f6b502fe0bbccff1d6abf6c..94e014678da889a631e527b1424c189884e34dce 100644 |
--- a/content/browser/web_contents/web_contents_impl_unittest.cc |
+++ b/content/browser/web_contents/web_contents_impl_unittest.cc |
@@ -2101,7 +2101,7 @@ TEST_F(WebContentsImplTest, CopyStateFromAndPruneTargetInterstitial) { |
// Ensure that we do not allow calling CopyStateFromAndPrune when an |
// interstitial is showing in the target. |
- EXPECT_FALSE(other_controller.CanPruneAllButVisible()); |
+ EXPECT_FALSE(other_controller.CanPruneAllButLastCommitted()); |
} |
// Regression test for http://crbug.com/168611 - the URLs passed by the |