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 e325c91d24e16e66d9f9f29306601f8258786ef8..a59130804752c673996ba8a71f1eaac9019218c5 100644 |
--- a/content/browser/frame_host/navigation_controller_impl_unittest.cc |
+++ b/content/browser/frame_host/navigation_controller_impl_unittest.cc |
@@ -3251,6 +3251,8 @@ TEST_F(NavigationControllerTest, RendererInitiatedPendingEntries) { |
// We create pending entries for renderer-initiated navigations so that we |
// can show them in new tabs when it is safe. |
+ main_test_rfh()->SendRendererInitiatedNavigationRequest(url1, false); |
+ main_test_rfh()->PrepareForCommit(); |
Charlie Reis
2015/05/28 17:02:27
These two lines are only needed for PlzNavigate, r
nasko
2015/05/28 17:16:44
While they are fairly PlzNavigate specific, in my
Charlie Reis
2015/05/28 17:40:19
Ok.
|
navigator->DidStartProvisionalLoad(main_test_rfh(), url1); |
// Simulate what happens if a BrowserURLHandler rewrites the URL, causing |