Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Unified Diff: content/browser/web_contents/test_web_contents.cc

Issue 10065028: Fixing a problem, where a hung renderer process is not killed when navigating away (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/web_contents/test_web_contents.cc
diff --git a/content/browser/web_contents/test_web_contents.cc b/content/browser/web_contents/test_web_contents.cc
index 36292b779ff94f808568f0e58a80c1afd050a184..9a5a6dbd654af9c1438e2ff9c4463ab143fa22a9 100644
--- a/content/browser/web_contents/test_web_contents.cc
+++ b/content/browser/web_contents/test_web_contents.cc
@@ -134,7 +134,7 @@ void TestWebContents::CommitPendingNavigation() {
// Simulate the SwapOut_ACK that fires if you commit a cross-site navigation
// without making any network requests.
if (old_rvh != rvh)
- static_cast<RenderViewHostImpl*>(old_rvh)->OnSwapOutACK();
+ static_cast<RenderViewHostImpl*>(old_rvh)->OnSwapOutACK(false);
}
int TestWebContents::GetNumberOfFocusCalls() {
« no previous file with comments | « content/browser/web_contents/render_view_host_manager_unittest.cc ('k') | content/public/browser/render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698