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

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

Issue 10907182: Add UMA counter for hung renderers on cross-site navigation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 0a1ca78512b38d807350bfeb8943a1a8c4913e02..100c518ad113967919433a1d40c89f4402fa8d2f 100644
--- a/content/browser/web_contents/test_web_contents.cc
+++ b/content/browser/web_contents/test_web_contents.cc
@@ -150,7 +150,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