| Index: content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc
|
| diff --git a/content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc b/content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc
|
| index 9844e6cff5398d0f72f6abfb0842ac00f8a50b79..8b6c78424b9ed7747849f6857cb2b655712a38b9 100644
|
| --- a/content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc
|
| +++ b/content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc
|
| @@ -253,9 +253,8 @@
|
| EXPECT_EQ(GetOverlay()->direction_, OverscrollNavigationOverlay::NONE);
|
|
|
| EXPECT_TRUE(contents()->CrossProcessNavigationPending());
|
| - NavigationEntry* pending = contents()->GetController().GetPendingEntry();
|
| main_test_rfh()->SendNavigate(
|
| - 0, pending->GetUniqueID(), false, pending->GetURL());
|
| + 1, contents()->GetController().GetPendingEntry()->GetURL());
|
| EXPECT_EQ(contents()->GetURL(), third());
|
| }
|
|
|
| @@ -269,9 +268,8 @@
|
| // for the previous page, so we should still be observing.
|
| EXPECT_TRUE(GetOverlay()->web_contents());
|
|
|
| - NavigationEntry* pending = contents()->GetController().GetPendingEntry();
|
| main_test_rfh()->SendNavigate(
|
| - 0, pending->GetUniqueID(), false, pending->GetURL());
|
| + 1, contents()->GetController().GetPendingEntry()->GetURL());
|
| ReceivePaintUpdate();
|
|
|
| // Navigation was committed and the paint update was received - we should no
|
| @@ -293,9 +291,8 @@
|
| contents()->TestSetIsLoading(true);
|
| contents()->TestSetIsLoading(false);
|
| EXPECT_FALSE(GetOverlay()->web_contents());
|
| - NavigationEntry* pending = contents()->GetController().GetPendingEntry();
|
| main_test_rfh()->SendNavigate(
|
| - 0, pending->GetUniqueID(), false, pending->GetURL());
|
| + 1, contents()->GetController().GetPendingEntry()->GetURL());
|
| EXPECT_EQ(contents()->GetURL(), third());
|
| }
|
|
|
|
|