Index: content/test/test_web_contents.cc |
diff --git a/content/test/test_web_contents.cc b/content/test/test_web_contents.cc |
index d3a1c1d1e4f7fd2bb1e3abe0adbc2a38e0117314..d3f47f6d60767a8b6b4aa7cb5084b24a0f1445c5 100644 |
--- a/content/test/test_web_contents.cc |
+++ b/content/test/test_web_contents.cc |
@@ -158,7 +158,7 @@ void TestWebContents::CommitPendingNavigation() { |
// replaced without a pending frame being created, and we don't get the right |
// values for the RFH to navigate: we try to use the old one that has been |
// deleted in the meantime. |
- GetMainFrame()->PrepareForCommit(entry->GetURL()); |
+ GetMainFrame()->PrepareForCommit(); |
TestRenderFrameHost* old_rfh = GetMainFrame(); |
TestRenderFrameHost* rfh = GetPendingMainFrame(); |