Index: content/browser/frame_host/navigation_controller_impl_unittest.cc |
diff --git a/content/browser/frame_host/navigation_controller_impl_unittest.cc b/content/browser/frame_host/navigation_controller_impl_unittest.cc |
index 119c112afe5a00e8865b86463021814420517965..e7cbceb5dd8470134e9834947f81d4b6591d9606 100644 |
--- a/content/browser/frame_host/navigation_controller_impl_unittest.cc |
+++ b/content/browser/frame_host/navigation_controller_impl_unittest.cc |
@@ -1004,7 +1004,7 @@ TEST_F(NavigationControllerTest, LoadURL_RedirectAbortDoesntShowPendingURL) { |
const GURL kExistingURL("http://foo/eh"); |
controller.LoadURL(kExistingURL, content::Referrer(), |
content::PAGE_TRANSITION_TYPED, std::string()); |
- main_test_rfh()->SendNavigate(0, kExistingURL); |
+ main_test_rfh()->SendNavigate(1, kExistingURL); |
EXPECT_EQ(1U, navigation_entry_committed_counter_); |
navigation_entry_committed_counter_ = 0; |
@@ -1032,7 +1032,7 @@ TEST_F(NavigationControllerTest, LoadURL_RedirectAbortDoesntShowPendingURL) { |
const GURL kRedirectURL("http://foo/see"); |
main_test_rfh()->OnMessageReceived( |
FrameHostMsg_DidRedirectProvisionalLoad(0, // routing_id |
- -1, // pending page_id |
+ 1, // pending page_id |
kNewURL, // old url |
kRedirectURL)); // new url |