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

Unified Diff: content/shell/browser/webkit_test_controller.cc

Issue 1069293002: We can no longer assume that there is only one process during layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/webkit_test_controller.cc
diff --git a/content/shell/browser/webkit_test_controller.cc b/content/shell/browser/webkit_test_controller.cc
index 2eeead8bfcf5df9eadd6041c3127a2d67be2c09d..4c0fd3203844f962387c0df4f3f03119f3378605 100644
--- a/content/shell/browser/webkit_test_controller.cc
+++ b/content/shell/browser/webkit_test_controller.cc
@@ -631,11 +631,9 @@ void WebKitTestController::OnCaptureSessionHistory() {
WebContents* web_contents = (*window)->web_contents();
// Only capture the history from windows in the same process as the main
// window. During layout tests, we only use two processes when an
- // devtools window is open. This should not happen during history navigation
- // tests.
+ // devtools window is open.
if (render_view_host->GetProcess() !=
web_contents->GetRenderViewHost()->GetProcess()) {
- NOTREACHED();
continue;
}
routing_ids.push_back(web_contents->GetRenderViewHost()->GetRoutingID());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698