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

Unified Diff: content/browser/site_per_process_browsertest.cc

Issue 2884243003: Add a mojo channel for frame messages. (Closed)
Patch Set: Created 3 years, 7 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/site_per_process_browsertest.cc
diff --git a/content/browser/site_per_process_browsertest.cc b/content/browser/site_per_process_browsertest.cc
index 0d39621d3aead8df4861319b482f02245fde8f8c..6d6c0764dfad4dce6e0e485ea6e83824d0092ecb 100644
--- a/content/browser/site_per_process_browsertest.cc
+++ b/content/browser/site_per_process_browsertest.cc
@@ -7843,8 +7843,7 @@ IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest,
// "Select all" in the subframe. The bug only happens if there's a selection
// change, which triggers the path through didChangeSelection.
- root->child_at(0)->current_frame_host()->Send(new InputMsg_SelectAll(
- root->child_at(0)->current_frame_host()->GetRoutingID()));
+ root->child_at(0)->current_frame_host()->GetFrameInputHandler()->SelectAll();
// Prevent b.com process from terminating right away once the subframe
// navigates away from b.com below. This is necessary so that the renderer

Powered by Google App Engine
This is Rietveld 408576698