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

Unified Diff: content/shell/browser/layout_test/blink_test_controller.cc

Issue 1922653003: Send TestFinished as Process/Control-msg (not View-msg). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@only-one-top-loading-frame-in-all-renderers
Patch Set: Rebasing... Created 4 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 | content/shell/browser/layout_test/layout_test_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/layout_test/blink_test_controller.cc
diff --git a/content/shell/browser/layout_test/blink_test_controller.cc b/content/shell/browser/layout_test/blink_test_controller.cc
index 91f7c13a3693863a2e040c9439e7fefbcb39ee28..450bbdf1bfdbe95307c80956db635a85ae6714c1 100644
--- a/content/shell/browser/layout_test/blink_test_controller.cc
+++ b/content/shell/browser/layout_test/blink_test_controller.cc
@@ -381,10 +381,10 @@ void BlinkTestController::OpenURL(const GURL& url) {
}
void BlinkTestController::OnTestFinishedInSecondaryRenderer() {
- RenderViewHost* render_view_host =
+ RenderViewHost* main_render_view_host =
main_window_->web_contents()->GetRenderViewHost();
- render_view_host->Send(
- new ShellViewMsg_NotifyDone(render_view_host->GetRoutingID()));
+ main_render_view_host->Send(new ShellViewMsg_TestFinishedInSecondaryRenderer(
+ main_render_view_host->GetRoutingID()));
}
bool BlinkTestController::IsMainWindow(WebContents* web_contents) const {
« no previous file with comments | « no previous file | content/shell/browser/layout_test/layout_test_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698