| Index: chrome/browser/tab_contents/web_contents_unittest.cc
|
| diff --git a/chrome/browser/tab_contents/web_contents_unittest.cc b/chrome/browser/tab_contents/web_contents_unittest.cc
|
| index 8be92f9accd8af8e94c6318a4a9fc24c43518600..8e773174b1240a078f5ca389ba87b1b2ae79f61a 100644
|
| --- a/chrome/browser/tab_contents/web_contents_unittest.cc
|
| +++ b/chrome/browser/tab_contents/web_contents_unittest.cc
|
| @@ -1711,6 +1711,9 @@ TEST_F(TabContentsTest, CopyStateFromAndPruneSourceInterstitial) {
|
| scoped_ptr<TestTabContents> other_contents(CreateTestTabContents());
|
| NavigationController& other_controller = other_contents->controller();
|
| other_contents->NavigateAndCommit(url3);
|
| + other_contents->ExpectSetHistoryLengthAndPrune(
|
| + other_controller.GetEntryAtIndex(0)->site_instance(), 1,
|
| + other_controller.GetEntryAtIndex(0)->page_id());
|
| other_controller.CopyStateFromAndPrune(&controller(), false);
|
|
|
| // The merged controller should only have two entries: url1 and url2.
|
| @@ -1751,7 +1754,9 @@ TEST_F(TabContentsTest, CopyStateFromAndPruneTargetInterstitial) {
|
| interstitial->TestDidNavigate(1, url3);
|
| EXPECT_TRUE(interstitial->is_showing());
|
| EXPECT_EQ(2, other_controller.entry_count());
|
| -
|
| + other_contents->ExpectSetHistoryLengthAndPrune(
|
| + other_controller.GetEntryAtIndex(0)->site_instance(), 1,
|
| + other_controller.GetEntryAtIndex(0)->page_id());
|
| other_controller.CopyStateFromAndPrune(&controller(), false);
|
|
|
| // The merged controller should only have two entries: url1 and url2.
|
|
|