Index: content/test/test_web_contents.cc |
diff --git a/content/test/test_web_contents.cc b/content/test/test_web_contents.cc |
index 178049fb91460af6e11316ea10b024adf2a5d83f..e372ce962e570540edb8b57d7ae1f76509b6017d 100644 |
--- a/content/test/test_web_contents.cc |
+++ b/content/test/test_web_contents.cc |
@@ -253,9 +253,9 @@ void TestWebContents::CommitPendingNavigation() { |
page_id = GetMaxPageIDForSiteInstance(rfh->GetSiteInstance()) + 1; |
} |
- rfh->SendNavigate(page_id, entry->GetUniqueID(), |
- GetController().GetPendingEntryIndex() == -1, |
- entry->GetURL()); |
+ rfh->SendNavigateWithTransition(page_id, entry->GetUniqueID(), |
+ GetController().GetPendingEntryIndex() == -1, |
+ entry->GetURL(), entry->GetTransitionType()); |
// Simulate the SwapOut_ACK. This is needed when cross-site navigation |
// happens. |
if (old_rfh != rfh) |