| 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 a361553dd25adfef25da829d420bb45370cc4b23..ba1a8f00734c0f34eb5ead8f5146a8ae860aa2e3 100644
|
| --- a/content/browser/web_contents/web_contents_impl_unittest.cc
|
| +++ b/content/browser/web_contents/web_contents_impl_unittest.cc
|
| @@ -2282,10 +2282,7 @@ TEST_F(WebContentsImplTest, CopyStateFromAndPruneSourceInterstitial) {
|
| static_cast<TestWebContents*>(CreateTestWebContents()));
|
| NavigationControllerImpl& other_controller = other_contents->GetController();
|
| other_contents->NavigateAndCommit(url3);
|
| - other_contents->ExpectSetHistoryLengthAndPrune(
|
| - NavigationEntryImpl::FromNavigationEntry(
|
| - other_controller.GetEntryAtIndex(0))->site_instance(), 1,
|
| - other_controller.GetEntryAtIndex(0)->GetPageID());
|
| + other_contents->ExpectSetHistoryOffsetAndLength(1, 2);
|
| other_controller.CopyStateFromAndPrune(&controller(), false);
|
|
|
| // The merged controller should only have two entries: url1 and url2.
|
|
|