Index: content/browser/tab_contents/test_tab_contents.cc |
diff --git a/content/browser/tab_contents/test_tab_contents.cc b/content/browser/tab_contents/test_tab_contents.cc |
index 396e2e68fbf366736a0314e27c5051e458d8f7ed..d541a9ec4dc1e05790f2622793138195bd54eb2c 100644 |
--- a/content/browser/tab_contents/test_tab_contents.cc |
+++ b/content/browser/tab_contents/test_tab_contents.cc |
@@ -78,5 +78,7 @@ void TestTabContents::CommitPendingNavigation() { |
void TestTabContents::ProceedWithCrossSiteNavigation() { |
if (!pending_rvh()) |
return; |
- render_manager_.ShouldClosePage(true, true); |
+ TestRenderViewHost* rvh = static_cast<TestRenderViewHost*>( |
+ render_manager_.current_host()); |
+ rvh->SendShouldCloseACK(true); |
} |