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

Unified Diff: content/browser/renderer_host/render_process_host_browsertest.cc

Issue 2766263009: Convert content ConnectionFilter to OnBindInterface (Closed)
Patch Set: . Created 3 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/renderer_host/render_process_host_browsertest.cc
diff --git a/content/browser/renderer_host/render_process_host_browsertest.cc b/content/browser/renderer_host/render_process_host_browsertest.cc
index fa968b798a8f5bcd357d50bed52a9c173d1b0afe..55c1eebc14466d3539a57737623e70c57c625503 100644
--- a/content/browser/renderer_host/render_process_host_browsertest.cc
+++ b/content/browser/renderer_host/render_process_host_browsertest.cc
@@ -230,7 +230,7 @@ IN_PROC_BROWSER_TEST_F(RenderProcessHostTest, KillProcessOnBadMojoMessage) {
rph->AddObserver(this);
mojom::TestServicePtr service;
- rph->GetRemoteInterfaces()->GetInterface(&service);
+ BindInterface(rph, &service);
base::RunLoop run_loop;
set_process_exit_callback(run_loop.QuitClosure());
@@ -299,7 +299,7 @@ IN_PROC_BROWSER_TEST_F(RenderProcessHostTest, KillProcessZerosAudioStreams) {
rph->AddObserver(this);
mojom::TestServicePtr service;
- rph->GetRemoteInterfaces()->GetInterface(&service);
+ BindInterface(rph, &service);
{
// Force a bad message event to occur which will terminate the renderer.
« no previous file with comments | « content/browser/mojo_sandbox_browsertest.cc ('k') | content/browser/renderer_host/render_process_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698