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 f3aea72759c7ce4a0dc158ea7b70656c1664cf31..8961f43f473982b113769b972124a31c0a772c3c 100644 |
--- a/content/browser/frame_host/navigation_controller_impl_unittest.cc |
+++ b/content/browser/frame_host/navigation_controller_impl_unittest.cc |
@@ -1037,13 +1037,8 @@ TEST_F(NavigationControllerTest, LoadURL_RedirectAbortDoesntShowPendingURL) { |
// The visible entry should be the last committed URL, not the pending one. |
EXPECT_EQ(kExistingURL, controller.GetVisibleEntry()->GetURL()); |
- // Now the navigation redirects. |
+ // Now the navigation redirects. (There is no corresponding message here.) |
const GURL kRedirectURL("http://foo/see"); |
- main_test_rfh()->OnMessageReceived( |
- FrameHostMsg_DidRedirectProvisionalLoad(0, // routing_id |
- -1, // pending page_id |
- kNewURL, // old url |
- kRedirectURL)); // new url |
// We don't want to change the NavigationEntry's url, in case it cancels. |
// Prevents regression of http://crbug.com/77786. |