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

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

Issue 10008015: 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: Removed a test case due to invalid dependencies and added observer to existing test. 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/tab_contents/test_web_contents.cc
diff --git a/content/browser/tab_contents/test_web_contents.cc b/content/browser/tab_contents/test_web_contents.cc
index da27f49e8b4128adee0d083cf805cfc4893513f7..e8408df5ab58432584ca3f71a627e926c9fe1b2b 100644
--- a/content/browser/tab_contents/test_web_contents.cc
+++ b/content/browser/tab_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() {

Powered by Google App Engine
This is Rietveld 408576698