Index: mojo/shell/runner/child/native_apptest_target.cc |
diff --git a/mojo/shell/runner/child/native_apptest_target.cc b/mojo/shell/runner/child/native_apptest_target.cc |
index ff8a8fb4add5bcc7771beffa012bd4bdf0f82118..86043d1ca82203f92f5e705d4952c4d5aaa0b119 100644 |
--- a/mojo/shell/runner/child/native_apptest_target.cc |
+++ b/mojo/shell/runner/child/native_apptest_target.cc |
@@ -31,7 +31,7 @@ class TargetApplicationDelegate |
void Initialize(mojo::Shell* shell, const std::string& url, |
uint32_t id) override {} |
bool AcceptConnection(mojo::Connection* connection) override { |
- connection->AddService<mojo::shell::test::TestNativeService>(this); |
+ connection->AddInterface<mojo::shell::test::TestNativeService>(this); |
return true; |
} |