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 ac7e84402b750921af4d4455a91dc144c7367406..4303cc30854d95fe08f2aee368021e1e3a7f8c32 100644 |
--- a/content/browser/frame_host/navigation_controller_impl_unittest.cc |
+++ b/content/browser/frame_host/navigation_controller_impl_unittest.cc |
@@ -1002,7 +1002,7 @@ |
const GURL kExistingURL("http://foo/eh"); |
controller.LoadURL(kExistingURL, content::Referrer(), |
content::PAGE_TRANSITION_TYPED, std::string()); |
- main_test_rfh()->SendNavigate(1, kExistingURL); |
+ main_test_rfh()->SendNavigate(0, kExistingURL); |
EXPECT_EQ(1U, navigation_entry_committed_counter_); |
navigation_entry_committed_counter_ = 0; |
@@ -1030,7 +1030,7 @@ |
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 |