Index: content/browser/mojo_shell_browsertest.cc |
diff --git a/content/browser/mojo_shell_browsertest.cc b/content/browser/mojo_shell_browsertest.cc |
index 75a263c2475ad8118362d60b0d65eeafaa306ba4..6f16b03f18e0ef9b92714a00eb64fd0cf6134475 100644 |
--- a/content/browser/mojo_shell_browsertest.cc |
+++ b/content/browser/mojo_shell_browsertest.cc |
@@ -38,7 +38,7 @@ IN_PROC_BROWSER_TEST_F(MojoShellTest, TestBrowserConnection) { |
auto test_app = MojoAppConnection::Create(GURL(kInProcessTestMojoAppUrl), |
GURL(kBrowserMojoAppUrl)); |
TestMojoServicePtr test_service; |
- test_app->ConnectToService(&test_service); |
+ test_app->GetInterface(&test_service); |
base::RunLoop run_loop; |
test_service->DoSomething(run_loop.QuitClosure()); |
@@ -52,7 +52,7 @@ IN_PROC_BROWSER_TEST_F(MojoShellTest, TestUtilityConnection) { |
auto test_app = MojoAppConnection::Create(GURL(kTestMojoAppUrl), |
GURL(kBrowserMojoAppUrl)); |
TestMojoServicePtr test_service; |
- test_app->ConnectToService(&test_service); |
+ test_app->GetInterface(&test_service); |
base::RunLoop run_loop; |
test_service->DoSomething(run_loop.QuitClosure()); |