Index: mojo/shell/runner/child/native_apptest.cc |
diff --git a/mojo/shell/runner/child/native_apptest.cc b/mojo/shell/runner/child/native_apptest.cc |
index 837f2e0c470e9488ad7636502cc06003d59102ea..77f696518501f897e5467de9fd32b067573a6203 100644 |
--- a/mojo/shell/runner/child/native_apptest.cc |
+++ b/mojo/shell/runner/child/native_apptest.cc |
@@ -20,8 +20,8 @@ using NativeAppTest = mojo::test::ApplicationTestBase; |
TEST_F(NativeAppTest, Connect) { |
test::TestNativeServicePtr native_service; |
- shell()->ConnectToService("exe:mojo_runner_child_apptest_native_target", |
- &native_service); |
+ shell()->ConnectToInterface("exe:mojo_runner_child_apptest_native_target", |
+ &native_service); |
bool result = false; |
native_service->Invert( |