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