Index: content/test/test_web_contents.cc |
diff --git a/content/test/test_web_contents.cc b/content/test/test_web_contents.cc |
index 93aec71aed35fcb98bea73ac84579b032965e384..6d3161419ee91f7824062be4c6da82301b618e18 100644 |
--- a/content/test/test_web_contents.cc |
+++ b/content/test/test_web_contents.cc |
@@ -157,7 +157,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(); |